/* Profile & Security Modal Styles */
.profile-modal .modal-content {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
}

#profileBtn {
    border: 1px solid transparent;
}

#profileBtn:hover {
    background: var(--secondary);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(38, 166, 154, 0.05);
}

.profile-tab {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.profile-tab:hover {
    color: var(--primary);
}

.profile-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.profile-tab-content {
    display: none;
    padding: 2.5rem;
    animation: fadeIn 0.3s ease;
}

.profile-tab-content.active {
    display: block;
}

.security-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.security-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.totp-setup-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
    background: #f8fbfa;
    border-radius: var(--radius-md);
    border: 1px dashed var(--primary-light);
}

.qr-code-wrapper {
    flex: 0 0 200px;
}

.qr-code-img {
    width: 200px;
    height: 200px;
    background: white;
    padding: 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.passkey-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.passkey-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.passkey-item:hover {
    background: white;
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.passkey-info h4 {
    margin: 0;
    font-size: 1rem;
}

.passkey-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

@media (max-width: 768px) {
    .totp-setup-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
