@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

h1 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.form-container, .search-container {
    margin-bottom: 30px;
}

h2 {
    color: #ffffff;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

input[type="text"] {
    width: calc(100% - 24px);
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #333;
    background-color: #252525;
    color: #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
}

input[type="text"]::placeholder {
    color: #888;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.button-text.hidden {
    display: none;
}

.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.names-list {
    margin-top: 20px;
}

.name-item {
    background-color: #252525;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
    animation: fadeIn 0.5s ease-in-out;
}

.name-item:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.name-item p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1.2em;
}

.name-item a {
    color: #2575fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.name-item a:hover {
    color: #6a11cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #a0a0a0;
}

footer a {
    color: #2575fc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 0.8em;
    color: #888;
    margin-top: 10px;
}
