/* Authentication UI CSS */

/* Navbar Avatar & Dropdown */
.user-avatar-container {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.user-avatar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #E8F3EF;
    color: #2F6F57;
    border: 1px solid rgba(47, 111, 87, 0.2);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.user-avatar-btn:hover {
    background: #2F6F57;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 111, 87, 0.2);
}

.user-dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    padding: 12px;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.dropdown-header strong {
    font-size: 1.05rem;
    color: #111827;
    margin-bottom: 2px;
}

.dropdown-header span {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 10px;
}

.dropdown-plan-badge {
    align-self: flex-start;
    background: #E8F3EF;
    color: #2F6F57;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-divider {
    height: 1px;
    background: rgba(229, 231, 235, 0.8);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #4B5563;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.dropdown-item:hover {
    background: #F3F4F6;
    color: #111827;
}

.dropdown-item:hover svg {
    color: #2F6F57;
}

.dropdown-item.text-danger:hover {
    background: #FEF2F2;
    color: #EF4444;
}

.dropdown-item.text-danger:hover svg {
    color: #EF4444;
}

/* Authentication Layout (Login / Signup) */
.auth-layout {
    display: flex;
    min-height: 100vh;
    background: #FFF9F8; /* Same powder pink as showcase */
}

.auth-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    position: relative;
    background: radial-gradient(circle at center, rgba(47, 111, 87, 0.05), transparent 70%);
}

.auth-left-content {
    max-width: 440px;
    text-align: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 3rem;
    text-decoration: none;
}

.auth-testimonial {
    font-size: 1.5rem;
    color: #111827;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 2rem;
}

.auth-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E8F3EF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.auth-author-info {
    text-align: left;
}

.auth-author-info strong {
    display: block;
    color: #111827;
    font-size: 1rem;
}

.auth-author-info span {
    color: #6B7280;
    font-size: 0.85rem;
}

.auth-right {
    flex: 0 0 550px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(17, 24, 39, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
    z-index: 2;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-form-container h1 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.auth-form-container p {
    color: #6B7280;
    margin-bottom: 2.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #D1D5DB;
    background: #F9FAFB;
    font-size: 1rem;
    color: #111827;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2F6F57;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(47, 111, 87, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
    cursor: pointer;
}

.forgot-link {
    color: #2F6F57;
    font-weight: 600;
    text-decoration: none;
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #2F6F57;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(47, 111, 87, 0.25);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #255d48;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(47, 111, 87, 0.35);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #9CA3AF;
    font-size: 0.85rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.auth-divider::before { margin-right: 12px; }
.auth-divider::after { margin-left: 12px; }

.btn-google {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #374151;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
}

.auth-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: #6B7280;
}

.auth-footer a {
    color: #2F6F57;
    font-weight: 600;
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .auth-left { display: none; }
    .auth-right { flex: 1; }
    .auth-form-container { max-width: 440px; }
}
