/* ConsultDesk — Auth & Profile module styles (extends consultdesk-public.css) */

.cd-account-pill { display: inline-flex; align-items: center; gap: 10px; }
.cd-button--account { background: #0f4c5c; }
.cd-account-pill__logout { font-size: 0.85rem; color: #6b7280; text-decoration: underline; }
.cd-button--secondary { background: #6b7280; }
.cd-button--full { width: 100%; text-align: center; }

.cd-auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid #e5e7eb; }
.cd-auth-tab {
	flex: 1; background: none; border: none; padding: 10px 0; font-weight: 600;
	color: #6b7280; cursor: pointer; border-bottom: 2px solid transparent;
}
.cd-auth-tab.is-active { color: #0f4c5c; border-bottom-color: #0f4c5c; }

.cd-field { margin-bottom: 14px; }
.cd-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 4px; color: #1f2933; }
.cd-field input[type="text"],
.cd-field input[type="email"],
.cd-field input[type="password"] {
	width: 100%; padding: 9px 11px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.95rem;
}
.cd-field input:disabled { background: #f3f4f6; color: #6b7280; }
.cd-field--checkbox label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.cd-field__hint { font-size: 0.8rem; color: #6b7280; }

.cd-auth-feedback { display: none; padding: 10px 12px; border-radius: 6px; margin-bottom: 14px; font-size: 0.9rem; }
.cd-auth-feedback.is-error { background: #fee2e2; color: #b91c1c; display: block; }
.cd-auth-feedback.is-success { background: #d1fae5; color: #047857; display: block; }

.cd-modal__close {
	position: absolute; top: 12px; right: 14px; background: none; border: none;
	font-size: 1.6rem; line-height: 1; cursor: pointer; color: #9ca3af;
}
.cd-modal { position: relative; }

/* Profile page */
.cd-profile__header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cd-profile__avatar img { border-radius: 50%; }
.cd-profile__name { margin: 0; }
.cd-profile__email { margin: 2px 0 0; color: #6b7280; }
.cd-profile__logout { margin-left: auto; }

.cd-profile__layout { display: flex; gap: 28px; flex-wrap: wrap; }
.cd-profile__nav { display: flex; flex-direction: column; gap: 4px; min-width: 200px; }
.cd-profile__nav-item {
	text-align: left; background: none; border: none; padding: 10px 14px; border-radius: 6px;
	cursor: pointer; font-weight: 600; color: #475569;
}
.cd-profile__nav-item.is-active { background: #e6f3f1; color: #0f4c5c; }
.cd-profile__content { flex: 1; min-width: 260px; }
.cd-profile__panel { display: none; }
.cd-profile__panel.is-active { display: block; }
.cd-profile-guest { text-align: center; padding: 40px 20px; }
