/* Neelkanth AYUSH Doctor Portal & Verification Styles */

:root {
	--ndp-primary: #0d7a57;
	--ndp-primary-hover: #0a5f44;
	--ndp-primary-light: #e6f6f0;
	--ndp-gold: #d97706;
	--ndp-gold-light: #fef3c7;
	--ndp-dark: #1e293b;
	--ndp-gray-50: #f8fafc;
	--ndp-gray-100: #f1f5f9;
	--ndp-gray-200: #e2e8f0;
	--ndp-gray-600: #475569;
	--ndp-gray-800: #1e293b;
	--ndp-radius: 12px;
	--ndp-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	--ndp-shadow-hover: 0 10px 25px rgba(13, 122, 87, 0.12);
}

.ndp-tabbed-container {
	max-width: 1160px;
	margin: 20px auto 50px;
	font-family: inherit;
}

.ndp-tabs-header {
	display: flex;
	gap: 12px;
	border-bottom: 2px solid var(--ndp-gray-200);
	margin-bottom: 30px;
	padding-bottom: 4px;
}

.ndp-tab-btn {
	background: none;
	border: none;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	color: var(--ndp-gray-600);
	cursor: pointer;
	border-radius: 8px 8px 0 0;
	position: relative;
	transition: all 0.25s ease;
}

.ndp-tab-btn:hover {
	color: var(--ndp-primary);
	background: var(--ndp-primary-light);
}

.ndp-tab-btn.active {
	color: var(--ndp-primary);
	background: var(--ndp-primary-light);
}

.ndp-tab-btn.active::after {
	content: '';
	position: absolute;
	bottom: -6px;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--ndp-primary);
	border-radius: 3px;
}

.ndp-tab-pane {
	display: none;
	animation: ndpFadeIn 0.3s ease-in-out;
}

.ndp-tab-pane.active {
	display: block;
}

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

/* Header & Pills */
.ndp-form-header, .ndp-directory-header {
	text-align: center;
	margin-bottom: 35px;
}

.ndp-pill {
	display: inline-block;
	background: var(--ndp-primary-light);
	color: var(--ndp-primary);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.ndp-form-header h2, .ndp-directory-header h2 {
	font-size: 30px;
	font-weight: 700;
	color: var(--ndp-dark);
	margin: 0 0 10px;
}

.ndp-form-header p, .ndp-directory-header p {
	font-size: 15px;
	color: var(--ndp-gray-600);
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Registration Form */
.ndp-register-wrap {
	max-width: 880px;
	margin: 0 auto;
}

.ndp-section-card {
	background: #ffffff;
	border: 1px solid var(--ndp-gray-200);
	border-radius: var(--ndp-radius);
	padding: 28px 32px;
	margin-bottom: 24px;
	box-shadow: var(--ndp-shadow);
	transition: box-shadow 0.2s ease;
}

.ndp-section-card:hover {
	box-shadow: var(--ndp-shadow-hover);
}

.ndp-section-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ndp-gray-100);
}

.ndp-step-num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ndp-primary);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ndp-section-title h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--ndp-dark);
}

.ndp-section-title small {
	font-size: 13px;
	color: var(--ndp-gray-600);
}

.ndp-grid {
	display: grid;
	gap: 18px;
	margin-bottom: 16px;
}

.ndp-grid-2 {
	grid-template-columns: repeat(2, 1fr);
}

.ndp-grid-3 {
	grid-template-columns: repeat(3, 1fr);
}

.ndp-input-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ndp-input-group label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ndp-dark);
}

.ndp-input-group label .req {
	color: #dc2626;
}

.ndp-input-group input,
.ndp-input-group select,
.ndp-input-group textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--ndp-gray-200);
	border-radius: 8px;
	font-size: 14px;
	background: #ffffff;
	color: var(--ndp-dark);
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.ndp-input-group input:focus,
.ndp-input-group select:focus,
.ndp-input-group textarea:focus {
	outline: none;
	border-color: var(--ndp-primary);
	box-shadow: 0 0 0 3px rgba(13, 122, 87, 0.15);
}

.ndp-input-group small {
	font-size: 12px;
	color: #64748b;
}

/* Upload Box */
.ndp-upload-box {
	background: var(--ndp-gray-50);
	border: 1.5px dashed var(--ndp-gray-200);
	border-radius: 10px;
	padding: 16px;
	transition: border-color 0.2s ease;
}

.ndp-upload-box:hover {
	border-color: var(--ndp-primary);
}

.ndp-upload-box label {
	font-size: 13px;
	font-weight: 600;
	color: var(--ndp-dark);
	display: block;
	margin-bottom: 4px;
}

.ndp-upload-hint {
	font-size: 12px;
	color: var(--ndp-gray-600);
	margin: 0 0 10px;
}

.ndp-upload-box input[type="file"] {
	font-size: 13px;
}

/* Submit Actions */
.ndp-form-actions {
	text-align: center;
	margin-top: 30px;
}

.ndp-submit-btn {
	background: var(--ndp-primary);
	color: #ffffff;
	border: none;
	padding: 16px 36px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(13, 122, 87, 0.3);
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.ndp-submit-btn:hover {
	background: var(--ndp-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(13, 122, 87, 0.4);
}

.ndp-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.ndp-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #ffffff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: ndpSpin 0.7s linear infinite;
}

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

.ndp-alert {
	margin-top: 20px;
	padding: 16px 20px;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
}

.ndp-alert-success {
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	color: #065f46;
}

.ndp-alert-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

/* Directory Filters */
.ndp-dir-filters {
	display: flex;
	gap: 14px;
	margin-bottom: 30px;
	flex-wrap: wrap;
}

.ndp-filter-input {
	flex: 2;
	min-width: 250px;
	padding: 12px 18px;
	border: 1.5px solid var(--ndp-gray-200);
	border-radius: 10px;
	font-size: 14px;
	background: #ffffff;
}

.ndp-filter-select {
	flex: 1;
	min-width: 200px;
	padding: 12px 18px;
	border: 1.5px solid var(--ndp-gray-200);
	border-radius: 10px;
	font-size: 14px;
	background: #ffffff;
}

/* Doctor Grid */
.ndp-doctor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 24px;
}

.ndp-doctor-card {
	background: #ffffff;
	border: 1px solid var(--ndp-gray-200);
	border-radius: var(--ndp-radius);
	padding: 24px;
	box-shadow: var(--ndp-shadow);
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
}

.ndp-doctor-card:hover {
	box-shadow: var(--ndp-shadow-hover);
	transform: translateY(-3px);
	border-color: #a7f3d0;
}

.ndp-card-top {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 14px;
}

.ndp-avatar-wrap {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
}

.ndp-avatar {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #a7f3d0;
}

.ndp-avatar-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--ndp-primary-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	border: 2px solid #a7f3d0;
}

.ndp-verified-badge {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 22px;
	height: 22px;
	background: #059669;
	color: #ffffff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ffffff;
}

.ndp-doc-name {
	margin: 0 0 4px;
	font-size: 17px;
	font-weight: 700;
	color: var(--ndp-dark);
}

.ndp-doc-qual {
	font-size: 13px;
	font-weight: 600;
	color: #2563eb;
}

.ndp-council-tag {
	font-size: 11px;
	color: #059669;
	font-weight: 600;
	margin-top: 2px;
}

.ndp-specialty-badge {
	background: var(--ndp-primary-light);
	color: var(--ndp-primary);
	font-size: 12px;
	font-weight: 700;
	padding: 6px 10px;
	border-radius: 6px;
	margin-bottom: 12px;
	display: inline-block;
}

.ndp-doc-about {
	font-size: 13px;
	color: var(--ndp-gray-600);
	line-height: 1.5;
	margin: 0 0 14px;
}

.ndp-clinic-info {
	background: var(--ndp-gray-50);
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 18px;
	font-size: 12px;
	color: var(--ndp-gray-600);
	flex-grow: 1;
}

.ndp-info-row {
	margin-bottom: 4px;
}

.ndp-info-row:last-child {
	margin-bottom: 0;
}

.ndp-card-footer {
	display: flex;
	gap: 10px;
	margin-top: auto;
}

.ndp-btn-consult {
	flex: 1;
	background: #25d366;
	color: #ffffff !important;
	text-decoration: none;
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ndp-btn-consult:hover {
	background: #1eb956;
}

.ndp-btn-call {
	width: 40px;
	height: 40px;
	background: var(--ndp-gray-100);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 16px;
	transition: background 0.2s;
}

.ndp-btn-call:hover {
	background: #e2e8f0;
}

.ndp-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	background: #ffffff;
	border: 1px dashed var(--ndp-gray-200);
	border-radius: var(--ndp-radius);
}

.ndp-empty-state h3 {
	margin: 0 0 8px;
	color: var(--ndp-dark);
}

.ndp-empty-state p {
	color: var(--ndp-gray-600);
	max-width: 500px;
	margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
	.ndp-grid-2, .ndp-grid-3 {
		grid-template-columns: 1fr;
	}
	.ndp-section-card {
		padding: 20px;
	}
	.ndp-tabs-header {
		flex-direction: column;
		gap: 6px;
	}
}
