body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
}

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

.auth-card-body {
    padding: 3rem 2.5rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo img {
    max-width: 120px;
    height: auto;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    text-align: center;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    text-align: center;
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #f7fafc;
}

.auth-form input:focus {
    outline: none;
    border-color: #00545e;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 84, 94, 0.08);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 0.875rem;
    background: #00545e;
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 84, 94, 0.25);
}

.auth-form .btn-primary:hover {
    background: #003d45;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 84, 94, 0.35);
}

.auth-form .btn-primary:active {
    transform: translateY(0);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-links a {
    color: #00545e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: #003d45;
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.remember-me input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
}

.remember-me label {
    margin: 0;
    color: #4a5568;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

.alert-success {
    background-color: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #00545e;
}

.password-toggle i {
    font-size: 18px;
}

/* Site Chooser Styles */
.site-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.25rem;
}

.site-list::-webkit-scrollbar {
    width: 8px;
}

.site-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.site-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.site-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.site-form {
    margin: 0;
}

.site-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: #1a202c;
    font-weight: 500;
}

.site-item:hover {
    background: white;
    border-color: #00545e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 84, 94, 0.15);
}

.site-item:active {
    transform: translateY(0);
}

.site-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.site-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00545e 0%, #003d45 100%);
    color: white;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.site-name {
    font-weight: 600;
    color: #2d3748;
}

.site-arrow {
    color: #94a3b8;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.site-item:hover .site-arrow {
    color: #00545e;
    transform: translateX(4px);
}

@media (max-width: 576px) {
    .auth-card-body {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .site-item {
        padding: 0.875rem 1rem;
    }

    .site-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .site-name {
        font-size: 0.9rem;
    }
}