.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 32px 24px;
    width: 100%;
    max-width: 360px;
    animation: slideUp 0.3s ease-out;
}

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

.auth-logo {
    text-align: center;
    margin-bottom: 16px;
}

.auth-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

.auth-subtitle {
    font-size: 0.875rem;
    text-align: center;
    color: #9ca3af;
    margin-bottom: 24px;
}

.auth-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: white;
    color: #2d5a3d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-form {
    display: none;
}

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

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1f2937;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2d5a3d;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.auth-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.auth-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.auth-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #2d5a3d 0%, #4a7c59 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

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

.auth-btn.secondary {
    background: #f3f4f6;
    color: #374151;
    margin-top: 16px;
}

.auth-btn.secondary:hover {
    background: #e5e7eb;
    box-shadow: none;
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.auth-btn.secondary .spinner {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: #374151;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-footer {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 20px;
}

.activation-card {
    text-align: center;
}

.activation-icon {
    color: #2d5a3d;
    margin-bottom: 16px;
}

.activation-desc {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.activation-info {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: left;
}

.activation-info h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.activation-info ul {
    list-style: disc;
    margin-left: 16px;
    font-size: 0.8rem;
    color: #6b7280;
}

.activation-info li {
    margin-bottom: 4px;
}

.user-menu-container {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-trigger:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2d5a3d 0%, #4a7c59 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.user-avatar.large {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.user-menu-arrow {
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.user-menu-trigger.active .user-menu-arrow {
    transform: rotate(180deg);
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    overflow: hidden;
    z-index: 1000;
    animation: dropdownIn 0.2s ease-out;
}

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

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-status {
    font-size: 0.75rem;
    color: #9ca3af;
}

.user-status.activated {
    color: #16a34a;
}

.user-menu-divider {
    height: 1px;
    background: #e5e7eb;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.user-menu-item:hover {
    background: #f3f4f6;
}

.user-menu-item svg {
    color: #6b7280;
}

.hidden {
    display: none !important;
}

@media (max-width: 400px) {
    .auth-card {
        padding: 24px 16px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
