@font-face {
	font-family: 'Inter-Thin';
	src: url('fonts/Inter-Thin.woff') format('woff');
}

@font-face {
	font-family: 'Inter-ExtraLight';
	src: url('fonts/Inter-ExtraLight.woff') format('woff');
}

@font-face {
	font-family: 'Inter-Light';
	src: url('fonts/Inter-Light.woff') format('woff');
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Regular.woff') format('woff');
}

@font-face {
	font-family: 'Inter-Medium';
	src: url('fonts/Inter-Medium.woff') format('woff');
}

@font-face {
	font-family: 'Inter-SemiBold';
	src: url('fonts/Inter-SemiBold.woff') format('woff');
}

@font-face {
	font-family: 'Inter-Bold';
	src: url('fonts/Inter-Bold.woff') format('woff');

}


:root {
	--white: #FFF;
	--grey: #808080;
	/*	--bg-container: #F5F7FA;*/

	--bg-container: #F0F4F8;
	--bg-main-header: #FFF;

	--title-color: #94A0AA;

	/*--bg-side-menu: #1E293B;*/
	--bg-side-menu: #0B1729;
	--nav-menu-selected: #1479C2;

	--color-side-menu: #4D9AEA;
	--color-text-menu: #DEE9F9;
	--color-icon-menu: #DFEFFC;
	--color-icon-menu-selected: #4D9AEA;

	--muted: #64748b;

	--primary: #1872D8;
	--primary-300: #6DA2DE;
	--primary-600: #0C67CE;
	--primary-light: #e6f2ff;

	--border-color: #D4DBE1;
	--border-color-focus: #92B9F9;
	--border-color-select: #D4DBE1;
	--border-color-input: #B3BDD0;
	--border-color-focus-input: #92B9F9;

	--label-name-color: #73767E;
	--label-color-input: #73767E;
	--label-color-select: #73767E;

	--sidebar-bg: #111827;
	--main-bg: ##F5F7FA;

	--card: #ffffff;
	--card-bg: #ffffff;

	--text-primary: #0f172a;
	--text-secondary: #6c757d;
	--text-sidebar: #ffffff;

	--bg-table-header: #F3F5F9;
	--fg-nav-header: #1872D8;

	--shadow-light: rgba(0, 0, 0, 0.05);
	--shadow-medium: rgba(0, 0, 0, 0.1);

	--success-text: #155724;
	--success-bg: #BFF0E0;
	--success: #166534;
	--success-txt: #166534;

	--warn-bg: #fef3c7;
	--warn: #92400e;
	--warning-bg: #fef3c7;
	--warning-txt: #92400e;

	--danger-bg: #fee2e2;
	--danger: #991b1b;
	--danger-txt: #991b1b;

	--pending-bg: #fff3cd;
	--pending-text: #856404;

	--canceled-bg: #f8d7da;
	--canceled-text: #721c24;

	--font-family: 'Inter-Regular', sans-serif;

	--sidebar-width: 60px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-family);
	background-color: var(--main-bg);
	color: var(--text-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.clear {
	display: block;
	width: 100%;
	height: 0px;
	float: none;
	clear: both;
}

._5 {
	height: 5px;
}

._10 {
	height: 10px;
}

._20 {
	height: 20px;
}

._30 {
	height: 30px;
}

._50 {
	height: 50px;
}



.__Fenanx {
	display: grid;
	grid-template-columns: var(--sidebar-width) 1fr;

	width: 100%;
	height: auto;
	min-height: 100vh;
}



.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 0.6rem 2.5rem;
	overflow-y: auto;
}

.main-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.5rem;
	/*border-radius: 12px;*/
	/*background: var(--card);*/
	/*box-shadow: 0 2px 6px rgba(15, 23, 42, .06);*/
}


.header-title h2 {
	margin-bottom: 4px;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-primary);
}

.header-title p {
	color: var(--text-secondary);
	font-size: 1rem;
	margin-top: 0.25rem;
}

.header-profile {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.sublink-header {
	text-decoration: none;
	color: var(--primary);
}

.sublink-header:hover {
	text-decoration: underline;
}

.sublink-header h2 {
	color: var(--primary);
}

.notification-icon {
	position: relative
}

.notification-icon i {
	font-size: 18px;
	color: var(--muted)
}

.notification-badge {
	padding: 3px 6px;
	border-radius: 999px;
	border: 2px solid var(--card);
	background: #DC0546;
	font-size: 11px;
	color: #fff;

	position: absolute;
	top: -12px;
	right: -10px;
}

.profile-info {
	display: flex;
	flex-direction: column;
	align-items: flex-end
}

.profile-name {
	font-weight: 600;
	display: block;
	font-size: 0.9rem;
}

.profile-role {
	font-size: 0.8rem;
	color: var(--muted)
}

.profile-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: 1px solid rgba(70, 70, 70, 0.1);
	box-shadow: 1px 3px 7px rgba(77, 81, 86, 0.08);
	background-color: #FFF;
	font-family: 'Inter-Medium', sans-serif;
	font-size: 1.6rem;
	font-weight: 600;
	color: #9A9FAA;
}

.content-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2rem;
}

.btn,
.btn-flex {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 36px;
	border: none;
	border-radius: 0.6rem;
	padding: 8px 14px;
	font-size: 0.8rem;
	font-weight: 600;

	cursor: pointer;
}

.btn.save {
	justify-content: center;
	width: auto;
	min-width: 260px;
	height: 45px;
	font-size: 1rem;
}

.btn.add {
	justify-content: center;
	width: auto;
	min-width: 180px;
	height: 45px;
	/*font-size: 0.8rem;*/
}

.btn-flex {
	width: 100%;
	display: flex;
	justify-content: center;
}

.btn-ellipsis {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.btn-primary {
	background: var(--primary);
	color: #fff
}

.btn-primary:hover {
	background: var(--primary-600)
}

.btn-ghost {
	background: #E9EDFC;
	color: #1e40af
}

.btn-ghost:hover {
	background: #D5DDF9
}



.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin-bottom: 20px
}

.stat-card {
	background: var(--card);
	padding: 20px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .06)
}

.card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	border-radius: 8px;
	font-size: 1.8rem;
}

.card-icon.schedules {
	background-color: #e6f2ff;
	color: #007bff;
}

.card-icon.time {
	background-color: #fff3e0;
	color: #ff9800;
}

.card-icon.doctors {
	background-color: #e8f5e9;
	color: #4caf50;
}

.card-icon.units {
	background-color: #f3e5f5;
	color: #9c27b0;
}

.stat-card i {
	font-size: 1.2rem;
}

.stat-value {
	font-size: 1.4rem;
	font-weight: 700
}

/*


.card-content h4 {
	color: var(--text-secondary);
	font-size: 1rem;
	font-weight: 500;
}

.card-content p {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--text-primary);
}*/







.schedule {
	background: var(--card);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .06)
}

.schedule-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px
}

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

.schedule-item {
	background: #f9fafb;
	border-radius: 10px;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center
}

.schedule-type {
	display: block;
	margin-bottom: 5px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #000;
}

.schedule-time {
	display: block;
	margin-bottom: 5px;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--primary);
}

.schedule-doctor {
	display: block;
	margin-bottom: 3px;
	font-size: 1rem;
	font-weight: 500;
}

.schedule-unit {
	font-size: 0.8rem;
	color: var(--muted);
}

.schedule-status {
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.status-confirmed {
	background: var(--success-bg);
	color: var(--success-txt);
}

.status-pending {
	background: var(--warning-bg);
	color: var(--warning-txt);
}

.status-cancelled {
	background: var(--danger-bg);
	color: var(--danger-txt);
}





.calendar-card {
	background: var(--card);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
	margin-bottom: 20px;
}

.calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.calendar-header h4 {
	font-weight: 700;
	font-size: 1rem;
	color: #000;
}

.calendar-header button {
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-secondary);
	padding: 0.5rem;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	font-size: 1.1rem;
	transition: background-color 0.2s, color 0.2s;
}

.calendar-header button:hover {
	background-color: var(--primary-light);
	color: var(--primary-color);
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}

.calendar-grid div {
	min-width: 26px;
	max-width: 32px;
	height: 30px;
	padding: 8px 0;
	border-radius: 8px;
	font-size: 14px;
}

.calendar-grid div.today {
	min-width: 26px;
	max-width: 32px;
	height: 30px;
	background: var(--primary);
	color: #fff;
	font-weight: 700;
}

.calendar-grid div:hover {
	background: #e5e7eb;
	cursor: pointer;
}

.filters-card {
	background: var(--card);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, .06);
}

.filters-card h3 {
	margin-bottom: 12px;
	font-size: 16px;
}








@-webkit-keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@keyframes fadeIn {
	from {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

@-webkit-keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0
	}

	to {
		transform: translateY(0);
		opacity: 1
	}
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0
	}

	to {
		transform: translateY(0);
		opacity: 1
	}
}









.load {
	fill: transparent;
	height: 20px;
}

.load circle:nth-child(1) {
	animation: color 1s ease-out infinite .2s;
}

.load circle:nth-child(2) {
	animation: color 1s ease infinite .4s;
}

.load circle:nth-child(3) {
	animation: color 1s ease-in infinite .6s;
}

@keyframes color {
	from {
		fill: #CDCDCD;
	}

	to {
		fill: #3B3B3B;
		stroke-dasharray: 0;
		stroke-dashoffset: 0;
	}
}

.load_white {
	fill: transparent;
	height: 20px;
}

.load_white circle:nth-child(1) {
	animation: color_white 1s ease-out infinite .2s;
}

.load_white circle:nth-child(2) {
	animation: color_white 1s ease infinite .4s;
}

.load_white circle:nth-child(3) {
	animation: color_white 1s ease-in infinite .6s;
}

@keyframes color_white {
	from {
		fill: #CDCDCD90;
	}

	to {
		fill: #FFFFFF;
		stroke-dasharray: 0;
		stroke-dashoffset: 0;
	}
}

#alert-message {
	display: none;
	margin-top: 10px;
	margin-bottom: 10px;
}

#alert-message span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	min-height: 35px;
	padding: 5px 10px;
	border-radius: 10px;

	font-family: 'Inter', sans-serif;
	font-size: 13px;
}

.alert {
	border: 1px solid;
	color: #2887C0;
	background-color: #D0E2F0;
}

.alert-success {
	border: 1px solid;
	color: #269E7C;
	background-color: #C7EBD7;
}

.error {
	border: 1px solid;
	color: #CA5858;
	background-color: #FCE0D8;
}
