body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
}

.auth-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 20px;
    padding: 20px;
    width: 90%; /* Responsive width */
}

@media (max-width: 480px) {
    .auth-container {
        margin: 20px auto;
        padding: 10px;
        width: 95%;
    }
    
    .auth-card {
        padding: 0; 
    }
    
    .auth-form {
        padding: 25px 20px;
    }
    
    .auth-form h2 {
        font-size: 24px;
    }
}

.auth-header {
    margin-bottom: 20px;
    text-align: center;
}

.home-link {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    transition: color 0.3s;
}

.home-link:hover {
    color: #F59A57;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: #fafafa;
    border: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: white;
    color: #F59A57;
    border-bottom: 2px solid #F59A57;
}

.auth-form {
    padding: 40px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: 28px;
    color: #242424;
    margin: 0 0 10px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 15px;
    font-family: 'Work Sans', sans-serif;
    background-color: #fafafa;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    border-color: #F59A57;
    background-color: white;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background-color: #F59A57;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(245, 154, 87, 0.3);
}

.auth-btn:hover {
    background-color: #e08e50;
    transform: translateY(-2px);
}

.error-msg {
    color: #e74c3c;
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    min-height: 20px;
}

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