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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f7fa;
    color: #222;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.auth-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}

.auth-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.auth-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #111;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #4a90e2;
    outline: none;
    background: #fff;
}

.auth-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #4a90e2;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-btn:hover {
    background: #357ab8;
}

.auth-toggle {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.auth-link {
    color: #4a90e2;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
    .auth-container {
        padding: 1rem;
    }
    .auth-box {
        padding: 1.5rem;
    }
    .auth-title {
        font-size: 1.5rem;
    }
    .auth-btn {
        padding: 10px;
    }
}
