/* =====================================
   UtilaCSS v2.0 — Complete UI Framework
   Bootstrap-like with Sky Blue Theme
===================================== */

:root {
	/* Sky Blue Theme */
	--utila-primary: #0e74e9;
	--utila-primary-dark: #026ec7;
	--utila-primary-light: #38abf8;

	/* Deep Blue Accent */
	--utila-secondary: #1e40af;
	--utila-secondary-dark: #1e3a8a;
	--utila-secondary-light: #3b82f6;

	/* Light Theme */
	--utila-bg-main: #ffffff;
	--utila-bg-secondary: #f8fafc;
	--utila-bg-card: #ffffff;
	--utila-text-primary: #0f172a;
	--utila-text-secondary: #64748b;
	--utila-border: #e2e8f0;
	--utila-shadow: rgba(0, 0, 0, 0.1);

	/* Status Colors */
	--utila-success: #10b981;
	--utila-warning: #f59e0b;
	--utila-danger: #ef4444;
	--utila-info: #0693d4;
}

[data-theme='dark'] {
	--utila-bg-main: #0f172a;
	--utila-bg-secondary: #1e293b;
	--utila-bg-card: #1e293b;
	--utila-text-primary: #f1f5f9;
	--utila-text-secondary: #94a3b8;
	--utila-border: #334155;
	--utila-shadow: rgba(0, 0, 0, 0.3);
}

/* html,
body {
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		Arial,
		sans-serif;
	background: var(--utila-bg-main);
	color: var(--utila-text-primary);
	line-height: 1.6;
	transition:
		background 0.3s,
		color 0.3s;
	font-size: 16px;
} */

/* ================================
          LAYOUT & GRID
================================ */

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.container-fluid {
	width: 100%;
	padding: 0 15px;
}

.container-sm {
	max-width: 540px;
	margin: 0 auto;
}
.container-md {
	max-width: 720px;
	margin: 0 auto;
}
.container-lg {
	max-width: 960px;
	margin: 0 auto;
}
.container-xl {
	max-width: 1140px;
	margin: 0 auto;
}

/* Grid System */
.row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}

.col {
	flex: 1 0 0%;
	padding: 0 15px;
}

[class*='col-'] {
	padding: 0 15px;
	flex: none;
}

.col-1 {
	width: 8.33%;
}
.col-2 {
	width: 16.66%;
}
.col-3 {
	width: 25%;
}
.col-4 {
	width: 33.33%;
}
.col-5 {
	width: 41.66%;
}
.col-6 {
	width: 50%;
}
.col-7 {
	width: 58.33%;
}
.col-8 {
	width: 66.66%;
}
.col-9 {
	width: 75%;
}
.col-10 {
	width: 83.33%;
}
.col-11 {
	width: 91.66%;
}
.col-12 {
	width: 100%;
}

/* Responsive Grid */
@media (min-width: 576px) {
	.col-sm-1 {
		width: 8.33%;
	}
	.col-sm-2 {
		width: 16.66%;
	}
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-4 {
		width: 33.33%;
	}
	.col-sm-5 {
		width: 41.66%;
	}
	.col-sm-6 {
		width: 50%;
	}
	.col-sm-7 {
		width: 58.33%;
	}
	.col-sm-8 {
		width: 66.66%;
	}
	.col-sm-9 {
		width: 75%;
	}
	.col-sm-10 {
		width: 83.33%;
	}
	.col-sm-11 {
		width: 91.66%;
	}
	.col-sm-12 {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.col-md-1 {
		width: 8.33%;
	}
	.col-md-2 {
		width: 16.66%;
	}
	.col-md-3 {
		width: 25%;
	}
	.col-md-4 {
		width: 33.33%;
	}
	.col-md-5 {
		width: 41.66%;
	}
	.col-md-6 {
		width: 50%;
	}
	.col-md-7 {
		width: 58.33%;
	}
	.col-md-8 {
		width: 66.66%;
	}
	.col-md-9 {
		width: 75%;
	}
	.col-md-10 {
		width: 83.33%;
	}
	.col-md-11 {
		width: 91.66%;
	}
	.col-md-12 {
		width: 100%;
	}
}

@media (min-width: 992px) {
	.col-lg-1 {
		width: 8.33%;
	}
	.col-lg-2 {
		width: 16.66%;
	}
	.col-lg-3 {
		width: 25%;
	}
	.col-lg-4 {
		width: 33.33%;
	}
	.col-lg-5 {
		width: 41.66%;
	}
	.col-lg-6 {
		width: 50%;
	}
	.col-lg-7 {
		width: 58.33%;
	}
	.col-lg-8 {
		width: 66.66%;
	}
	.col-lg-9 {
		width: 75%;
	}
	.col-lg-10 {
		width: 83.33%;
	}
	.col-lg-11 {
		width: 91.66%;
	}
	.col-lg-12 {
		width: 100%;
	}
}

@media (max-width: 768px) {
	[class*='col-'] {
		width: 100%;
	}
}

/* ================================
        TYPOGRAPHY
================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 0.5rem;
	font-weight: 600;
	line-height: 1.2;
	color: var(--utila-text-primary);
}

h1 {
	font-size: 2.5rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.75rem;
}
h4 {
	font-size: 1.5rem;
}
h5 {
	font-size: 1.25rem;
}
h6 {
	font-size: 1rem;
}

.display-1 {
	font-size: 6rem;
	font-weight: 300;
}
.display-2 {
	font-size: 5.5rem;
	font-weight: 300;
}
.display-3 {
	font-size: 4.5rem;
	font-weight: 300;
}
.display-4 {
	font-size: 3.5rem;
	font-weight: 300;
}

.lead {
	font-size: 1.25rem;
	font-weight: 300;
}

.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}

.text-muted {
	color: var(--utila-text-secondary);
}
.text-primary {
	color: var(--utila-primary);
}
.text-secondary {
	color: var(--utila-secondary);
}
.text-success {
	color: var(--utila-success);
}
.text-danger {
	color: var(--utila-danger);
}
.text-warning {
	color: var(--utila-warning);
}
.text-info {
	color: var(--utila-info);
}

.text-uppercase {
	text-transform: uppercase;
}
.text-lowercase {
	text-transform: lowercase;
}
.text-capitalize {
	text-transform: capitalize;
}

.font-weight-light {
	font-weight: 300;
}
.font-weight-normal {
	font-weight: 400;
}
.font-weight-bold {
	font-weight: 700;
}

/* ================================
        BUTTONS
================================ */

.btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s;
	line-height: 1.5;
}

.btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.btn-primary {
	background: var(--utila-primary);
	color: white;
}
.btn-primary:hover:not(:disabled) {
	background: var(--utila-primary-dark);
	transform: translateY(-1px);
}

.btn-secondary {
	background: var(--utila-secondary);
	color: white;
}
.btn-secondary:hover:not(:disabled) {
	background: var(--utila-secondary-dark);
}

.btn-success {
	background: var(--utila-success);
	color: white;
}
.btn-success:hover:not(:disabled) {
	background: #059669;
}

.btn-danger {
	background: var(--utila-danger);
	color: white;
}
.btn-danger:hover:not(:disabled) {
	background: #dc2626;
}

.btn-warning {
	background: var(--utila-warning);
	color: white;
}
.btn-warning:hover:not(:disabled) {
	background: #d97706;
}

.btn-info {
	background: var(--utila-info);
	color: white;
}
.btn-info:hover:not(:disabled) {
	background: #0284c7;
}

.btn-light {
	background: var(--utila-bg-secondary);
	color: var(--utila-text-primary);
}
.btn-light:hover:not(:disabled) {
	background: var(--utila-border);
}

.btn-dark {
	background: #1e293b;
	color: white;
}
.btn-dark:hover:not(:disabled) {
	background: #0f172a;
}

/* Outline Buttons */
.btn-outline-primary {
	background: transparent;
	border: 2px solid var(--utila-primary);
	color: var(--utila-primary);
}
.btn-outline-primary:hover:not(:disabled) {
	background: var(--utila-primary);
	color: white;
}

.btn-outline-secondary {
	background: transparent;
	border: 2px solid var(--utila-secondary);
	color: var(--utila-secondary);
}
.btn-outline-secondary:hover:not(:disabled) {
	background: var(--utila-secondary);
	color: white;
}

.btn-outline-success {
	background: transparent;
	border: 2px solid var(--utila-success);
	color: var(--utila-success);
}
.btn-outline-success:hover:not(:disabled) {
	background: var(--utila-success);
	color: white;
}

.btn-outline-danger {
	background: transparent;
	border: 2px solid var(--utila-danger);
	color: var(--utila-danger);
}
.btn-outline-danger:hover:not(:disabled) {
	background: var(--utila-danger);
	color: white;
}

/* Button Sizes */
.btn-sm {
	padding: 6px 12px;
	font-size: 13px;
}

.btn-lg {
	padding: 14px 28px;
	font-size: 17px;
}

.btn-block {
	display: block;
	width: 100%;
}

/* Button Groups */
.btn-group {
	display: inline-flex;
	gap: 0;
}

.btn-group .btn {
	border-radius: 0;
}

.btn-group .btn:first-child {
	border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
	border-radius: 0 8px 8px 0;
}

/* ================================
        FORMS
================================ */

.form-group {
	margin-bottom: 1rem;
}

.form-label {
	display: inline-block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 2px solid var(--utila-border);
	font-size: 15px;
	transition: all 0.2s;
	background: var(--utila-bg-card);
	color: var(--utila-text-primary);
}

.form-control:focus {
	border-color: var(--utila-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(14, 116, 233, 0.1);
}

.form-control:disabled {
	background: var(--utila-bg-secondary);
	opacity: 0.6;
	cursor: not-allowed;
}

.form-control-sm {
	padding: 6px 10px;
	font-size: 13px;
}

.form-control-lg {
	padding: 14px 16px;
	font-size: 17px;
}

textarea.form-control {
	min-height: 100px;
	resize: vertical;
}

.form-select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 2px solid var(--utila-border);
	background: var(--utila-bg-card);
	color: var(--utila-text-primary);
	cursor: pointer;
}

.form-check {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.form-check-input {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	cursor: pointer;
}

.form-check-label {
	cursor: pointer;
}

.input-group {
	display: flex;
	width: 100%;
}

.input-group-text {
	padding: 10px 12px;
	background: var(--utila-bg-secondary);
	border: 2px solid var(--utila-border);
	border-right: none;
	border-radius: 8px 0 0 8px;
}

.input-group .form-control {
	border-radius: 0 8px 8px 0;
}

.form-text {
	display: block;
	margin-top: 0.25rem;
	font-size: 13px;
	color: var(--utila-text-secondary);
}

.invalid-feedback {
	display: none;
	color: var(--utila-danger);
	font-size: 13px;
	margin-top: 0.25rem;
}

.is-invalid ~ .invalid-feedback {
	display: block;
}

.is-invalid {
	border-color: var(--utila-danger);
}

/* ================================
        CARDS
================================ */

.card {
	background: var(--utila-bg-card);
	border-radius: 12px;
	border: 1px solid var(--utila-border);
	overflow: hidden;
	transition: all 0.3s;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px var(--utila-shadow);
}

.card-header {
	padding: 16px 20px;
	background: var(--utila-bg-secondary);
	border-bottom: 1px solid var(--utila-border);
	font-weight: 600;
}

.card-body {
	padding: 20px;
}

.card-footer {
	padding: 16px 20px;
	background: var(--utila-bg-secondary);
	border-top: 1px solid var(--utila-border);
}

.card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.card-subtitle {
	font-size: 1rem;
	color: var(--utila-text-secondary);
	margin-bottom: 1rem;
}

.card-text {
	margin-bottom: 1rem;
}

.card-img-top {
	width: 100%;
	height: auto;
}

/* ================================
        NAVBAR
================================ */

.navbar {
	background: var(--utila-bg-card);
	padding: 16px 24px;
	border-radius: 12px;
	margin-bottom: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid var(--utila-border);
	flex-wrap: wrap;
}

.navbar-brand {
	font-size: 22px;
	font-weight: 700;
	color: var(--utila-primary);
	text-decoration: none;
}

.navbar-nav {
	display: flex;
	list-style: none;
	gap: 20px;
	margin: 0;
	align-items: center;
}

.nav-item {
	list-style: none;
}

.nav-link {
	text-decoration: none;
	color: var(--utila-text-secondary);
	transition: color 0.2s;
	padding: 8px 12px;
	border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
	color: var(--utila-primary);
	background: rgba(14, 116, 233, 0.1);
}

.navbar-toggler {
	display: none;
	background: transparent;
	border: 2px solid var(--utila-border);
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
}

@media (max-width: 768px) {
	.navbar-nav {
		flex-direction: column;
		width: 100%;
		margin-top: 16px;
	}
	.navbar-toggler {
		display: block;
	}
}

/* ================================
        BREADCRUMB
================================ */

.breadcrumb {
	display: flex;
	list-style: none;
	padding: 12px 16px;
	background: var(--utila-bg-secondary);
	border-radius: 8px;
	margin-bottom: 1rem;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: '/';
	padding: 0 8px;
	color: var(--utila-text-secondary);
}

.breadcrumb-item a {
	color: var(--utila-primary);
	text-decoration: none;
}

.breadcrumb-item.active {
	color: var(--utila-text-secondary);
}

/* ================================
        PAGINATION
================================ */

.pagination {
	display: flex;
	list-style: none;
	gap: 8px;
}

.page-item {
	list-style: none;
}

.page-link {
	display: block;
	padding: 8px 14px;
	border: 2px solid var(--utila-border);
	border-radius: 6px;
	text-decoration: none;
	color: var(--utila-text-primary);
	transition: all 0.2s;
}

.page-link:hover {
	background: var(--utila-bg-secondary);
	border-color: var(--utila-primary);
	color: var(--utila-primary);
}

.page-item.active .page-link {
	background: var(--utila-primary);
	border-color: var(--utila-primary);
	color: white;
}

.page-item.disabled .page-link {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* ================================
        ALERTS
================================ */

.alert {
	padding: 16px 20px;
	border-radius: 8px;
	font-size: 15px;
	margin-bottom: 1rem;
	border-left: 4px solid;
	display: flex;
	align-items: center;
	gap: 12px;
}

.alert-dismissible {
	position: relative;
	padding-right: 50px;
}

.alert .close {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	font-size: 20px;
	cursor: pointer;
	opacity: 0.6;
}

.alert-success {
	background: rgba(16, 185, 129, 0.1);
	color: var(--utila-success);
	border-color: var(--utila-success);
}

.alert-info {
	background: rgba(6, 147, 212, 0.1);
	color: var(--utila-info);
	border-color: var(--utila-info);
}

.alert-warning {
	background: rgba(245, 158, 11, 0.1);
	color: var(--utila-warning);
	border-color: var(--utila-warning);
}

.alert-danger {
	background: rgba(239, 68, 68, 0.1);
	color: var(--utila-danger);
	border-color: var(--utila-danger);
}

.alert-primary {
	background: rgba(14, 116, 233, 0.1);
	color: var(--utila-primary);
	border-color: var(--utila-primary);
}

/* ================================
        BADGES
================================ */

.badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

.badge-primary {
	background: var(--utila-primary);
	color: white;
}
.badge-secondary {
	background: var(--utila-secondary);
	color: white;
}
.badge-success {
	background: var(--utila-success);
	color: white;
}
.badge-danger {
	background: var(--utila-danger);
	color: white;
}
.badge-warning {
	background: var(--utila-warning);
	color: white;
}
.badge-info {
	background: var(--utila-info);
	color: white;
}
.badge-light {
	background: var(--utila-bg-secondary);
	color: var(--utila-text-primary);
}
.badge-dark {
	background: #1e293b;
	color: white;
}

.badge-pill {
	border-radius: 50px;
}

/* ================================
        TABLES
================================ */

.table {
	width: 100%;
	border-collapse: collapse;
	background: var(--utila-bg-card);
	margin-bottom: 1rem;
}

.table th,
.table td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--utila-border);
}

.table thead th {
	background: var(--utila-bg-secondary);
	font-weight: 600;
	color: var(--utila-text-primary);
	border-bottom: 2px solid var(--utila-border);
}

.table tbody tr:last-child td {
	border-bottom: none;
}

.table-striped tbody tr:nth-child(odd) {
	background: var(--utila-bg-secondary);
}

.table-hover tbody tr:hover {
	background: var(--utila-bg-secondary);
}

.table-bordered {
	border: 1px solid var(--utila-border);
}

.table-bordered th,
.table-bordered td {
	border: 1px solid var(--utila-border);
}

.table-sm th,
.table-sm td {
	padding: 8px 12px;
}

.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ================================
        MODAL
================================ */

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	backdrop-filter: blur(4px);
	z-index: 1050;
	animation: fadeIn 0.3s ease;
}

.modal.show {
	display: flex;
}

.modal-dialog {
	background: var(--utila-bg-card);
	width: 90%;
	max-width: 500px;
	border-radius: 12px;
	border: 1px solid var(--utila-border);
	animation: slideUp 0.3s ease;
	max-height: 90vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.modal-dialog-centered {
	margin: auto;
}

.modal-dialog-scrollable .modal-body {
	overflow-y: auto;
}

.modal-sm {
	max-width: 300px;
}
.modal-lg {
	max-width: 800px;
}
.modal-xl {
	max-width: 1140px;
}

.modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--utila-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
}

.modal-body {
	padding: 24px;
	flex: 1;
}

.modal-footer {
	padding: 16px 24px;
	border-top: 1px solid var(--utila-border);
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.close {
	background: transparent;
	border: none;
	font-size: 24px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.2s;
}

.close:hover {
	opacity: 1;
}

/* ================================
        PROGRESS BARS
================================ */

.progress {
	width: 100%;
	height: 16px;
	background: var(--utila-bg-secondary);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.progress-bar {
	height: 100%;
	background: var(--utila-primary);
	transition: width 0.6s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 12px;
}

.progress-bar-striped {
	background-image: linear-gradient(
		45deg,
		rgba(255, 255, 255, 0.15) 25%,
		transparent 25%,
		transparent 50%,
		rgba(255, 255, 255, 0.15) 50%,
		rgba(255, 255, 255, 0.15) 75%,
		transparent 75%,
		transparent
	);
	background-size: 20px 20px;
}

.progress-bar-animated {
	animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
	0% {
		background-position: 20px 0;
	}
	100% {
		background-position: 0 0;
	}
}

/* Progress Colors */
.bg-primary {
	background: var(--utila-primary) !important;
}
.bg-secondary {
	background: var(--utila-secondary) !important;
}
.bg-success {
	background: var(--utila-success) !important;
}
.bg-danger {
	background: var(--utila-danger) !important;
}
.bg-warning {
	background: var(--utila-warning) !important;
}
.bg-info {
	background: var(--utila-info) !important;
}

/* ================================
        SPINNERS
================================ */

.spinner-border {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
	to {
		transform: rotate(360deg);
	}
}

.spinner-border-sm {
	width: 1rem;
	height: 1rem;
	border-width: 2px;
}

.spinner-grow {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	background-color: currentColor;
	border-radius: 50%;
	opacity: 0;
	animation: spinner-grow 0.75s linear infinite;
}

@keyframes spinner-grow {
	0% {
		transform: scale(0);
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
}

.spinner-grow-sm {
	width: 1rem;
	height: 1rem;
}

/* ================================
        ACCORDION
================================ */

.accordion {
	border-radius: 8px;
	overflow: hidden;
	background: var(--utila-bg-card);
	border: 1px solid var(--utila-border);
}

.accordion-item {
	border-bottom: 1px solid var(--utila-border);
}

.accordion-item:last-child {
	border: none;
}

.accordion-header {
	padding: 16px 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	color: var(--utila-text-primary);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.accordion-header:hover {
	background: var(--utila-bg-secondary);
}

.accordion-body {
	padding: 16px 20px;
	color: var(--utila-text-secondary);
	display: none;
}

.accordion-body.show {
	display: block;
}

/* ================================
        TOOLTIPS
================================ */

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	background: #1e293b;
	color: white;
	text-align: center;
	padding: 6px 12px;
	border-radius: 6px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	transition: opacity 0.3s;
	font-size: 13px;
	white-space: nowrap;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

/* ================================
        DROPDOWN
================================ */

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-toggle {
	cursor: pointer;
}

.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	min-width: 160px;
	padding: 8px 0;
	margin: 8px 0 0;
	background: var(--utila-bg-card);
	border: 1px solid var(--utila-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px var(--utila-shadow);
}

.dropdown-menu.show {
	display: block;
}

.dropdown-item {
	display: block;
	width: 100%;
	padding: 10px 16px;
	text-decoration: none;
	color: var(--utila-text-primary);
	transition: background 0.2s;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.dropdown-item:hover {
	background: var(--utila-bg-secondary);
}

.dropdown-divider {
	height: 1px;
	background: var(--utila-border);
	margin: 8px 0;
}

/* ================================
        LIST GROUP
================================ */

.list-group {
	display: flex;
	flex-direction: column;
	padding: 0;
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
}

.list-group-item {
	position: relative;
	display: block;
	padding: 12px 16px;
	background: var(--utila-bg-card);
	border: 1px solid var(--utila-border);
	border-width: 0 0 1px 0;
	text-decoration: none;
	color: var(--utila-text-primary);
	transition: background 0.2s;
}

.list-group-item:first-child {
	border-top-width: 1px;
}

.list-group-item:hover {
	background: var(--utila-bg-secondary);
}

.list-group-item.active {
	background: var(--utila-primary);
	color: white;
	border-color: var(--utila-primary);
}

.list-group-item-primary {
	background: rgba(14, 116, 233, 0.1);
	color: var(--utila-primary);
}
.list-group-item-success {
	background: rgba(16, 185, 129, 0.1);
	color: var(--utila-success);
}
.list-group-item-danger {
	background: rgba(239, 68, 68, 0.1);
	color: var(--utila-danger);
}
.list-group-item-warning {
	background: rgba(245, 158, 11, 0.1);
	color: var(--utila-warning);
}
.list-group-item-info {
	background: rgba(6, 147, 212, 0.1);
	color: var(--utila-info);
}

.list-group-flush .list-group-item {
	border-width: 0 0 1px 0;
	border-radius: 0;
}

/* ================================
        JUMBOTRON
================================ */

.jumbotron {
	padding: 4rem 2rem;
	margin-bottom: 2rem;
	background: var(--utila-bg-secondary);
	border-radius: 12px;
	text-align: center;
}

.jumbotron h1 {
	font-size: 3.5rem;
	font-weight: 700;
}

.jumbotron p {
	font-size: 1.25rem;
	color: var(--utila-text-secondary);
}

/* ================================
        MEDIA OBJECT
================================ */

.media {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.media-body {
	flex: 1;
	padding-left: 1rem;
}

/* ================================
        TOAST
================================ */

.toast {
	position: fixed;
	top: 20px;
	right: 20px;
	min-width: 300px;
	background: var(--utila-bg-card);
	border: 1px solid var(--utila-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px var(--utila-shadow);
	z-index: 1060;
	animation: slideInRight 0.3s ease;
}

.toast-header {
	display: flex;
	align-items: center;
	padding: 12px 16px;
	background: var(--utila-bg-secondary);
	border-bottom: 1px solid var(--utila-border);
	border-radius: 8px 8px 0 0;
}

.toast-body {
	padding: 16px;
}

@keyframes slideInRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* ================================
        COLLAPSE
================================ */

.collapse {
	display: none;
}

.collapse.show {
	display: block;
}

.collapsing {
	position: relative;
	height: 0;
	overflow: hidden;
	transition: height 0.35s ease;
}

/* ================================
        CAROUSEL
================================ */

.carousel {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.carousel-item {
	position: relative;
	display: none;
	width: 100%;
	transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
	display: block;
}

.carousel-control-prev,
.carousel-control-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	border-radius: 50%;
	color: white;
	cursor: pointer;
	z-index: 10;
}

.carousel-control-prev {
	left: 16px;
}

.carousel-control-next {
	right: 16px;
}

.carousel-indicators {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
}

.carousel-indicators button.active {
	background: white;
}

/* ================================
        OFFCANVAS
================================ */

.offcanvas {
	position: fixed;
	bottom: 0;
	z-index: 1045;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	visibility: hidden;
	background: var(--utila-bg-card);
	transition: transform 0.3s ease-in-out;
	border: 1px solid var(--utila-border);
}

.offcanvas-start {
	top: 0;
	left: 0;
	width: 300px;
	transform: translateX(-100%);
	border-right: 1px solid var(--utila-border);
}

.offcanvas-end {
	top: 0;
	right: 0;
	width: 300px;
	transform: translateX(100%);
	border-left: 1px solid var(--utila-border);
}

.offcanvas-top {
	top: 0;
	right: 0;
	left: 0;
	height: 30vh;
	transform: translateY(-100%);
	border-bottom: 1px solid var(--utila-border);
}

.offcanvas-bottom {
	right: 0;
	left: 0;
	height: 30vh;
	transform: translateY(100%);
	border-top: 1px solid var(--utila-border);
}

.offcanvas.show {
	visibility: visible;
	transform: none;
}

.offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid var(--utila-border);
}

.offcanvas-title {
	margin: 0;
	font-weight: 600;
}

.offcanvas-body {
	flex-grow: 1;
	padding: 20px;
	overflow-y: auto;
}

/* ================================
        TABS
================================ */

.nav-tabs {
	display: flex;
	border-bottom: 2px solid var(--utila-border);
	margin-bottom: 1rem;
	list-style: none;
	padding: 0;
}

.nav-tabs .nav-item {
	margin-bottom: -2px;
}

.nav-tabs .nav-link {
	border: none;
	border-bottom: 2px solid transparent;
	padding: 12px 20px;
	color: var(--utila-text-secondary);
	text-decoration: none;
	transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
	border-bottom-color: var(--utila-primary);
	color: var(--utila-primary);
}

.nav-tabs .nav-link.active {
	color: var(--utila-primary);
	border-bottom-color: var(--utila-primary);
	font-weight: 600;
}

.tab-content > .tab-pane {
	display: none;
}

.tab-content > .active {
	display: block;
}

/* ================================
        PILLS
================================ */

.nav-pills {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
}

.nav-pills .nav-link {
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--utila-text-secondary);
	transition: all 0.2s;
}

.nav-pills .nav-link:hover {
	background: var(--utila-bg-secondary);
	color: var(--utila-primary);
}

.nav-pills .nav-link.active {
	background: var(--utila-primary);
	color: white;
}

/* ================================
        POPOVER
================================ */

.popover {
	position: absolute;
	z-index: 1070;
	display: none;
	max-width: 276px;
	padding: 16px;
	background: var(--utila-bg-card);
	border: 1px solid var(--utila-border);
	border-radius: 8px;
	box-shadow: 0 8px 24px var(--utila-shadow);
}

.popover.show {
	display: block;
}

.popover-header {
	padding-bottom: 8px;
	margin-bottom: 8px;
	font-weight: 600;
	border-bottom: 1px solid var(--utila-border);
}

.popover-body {
	color: var(--utila-text-secondary);
}

/* ================================
        FOOTER
================================ */

.footer {
	text-align: center;
	padding: 40px 0;
	color: var(--utila-text-secondary);
	border-top: 1px solid var(--utila-border);
	margin-top: 60px;
	background: var(--utila-bg-secondary);
}

/* ================================
        UTILITIES - DISPLAY
================================ */

.d-none {
	display: none !important;
}
.d-inline {
	display: inline !important;
}
.d-inline-block {
	display: inline-block !important;
}
.d-block {
	display: block !important;
}
.d-flex {
	display: flex !important;
}
.d-inline-flex {
	display: inline-flex !important;
}
.d-grid {
	display: grid !important;
}

@media (min-width: 576px) {
	.d-sm-none {
		display: none !important;
	}
	.d-sm-block {
		display: block !important;
	}
	.d-sm-flex {
		display: flex !important;
	}
}

@media (min-width: 768px) {
	.d-md-none {
		display: none !important;
	}
	.d-md-block {
		display: block !important;
	}
	.d-md-flex {
		display: flex !important;
	}
}

@media (min-width: 992px) {
	.d-lg-none {
		display: none !important;
	}
	.d-lg-block {
		display: block !important;
	}
	.d-lg-flex {
		display: flex !important;
	}
}

/* ================================
        UTILITIES - FLEXBOX
================================ */

.flex-row {
	flex-direction: row !important;
}
.flex-column {
	flex-direction: column !important;
}
.flex-row-reverse {
	flex-direction: row-reverse !important;
}
.flex-column-reverse {
	flex-direction: column-reverse !important;
}

.flex-wrap {
	flex-wrap: wrap !important;
}
.flex-nowrap {
	flex-wrap: nowrap !important;
}

.justify-content-start {
	justify-content: flex-start !important;
}
.justify-content-end {
	justify-content: flex-end !important;
}
.justify-content-center {
	justify-content: center !important;
}
.justify-content-between {
	justify-content: space-between !important;
}
.justify-content-around {
	justify-content: space-around !important;
}

.align-items-start {
	align-items: flex-start !important;
}
.align-items-end {
	align-items: flex-end !important;
}
.align-items-center {
	align-items: center !important;
}
.align-items-baseline {
	align-items: baseline !important;
}
.align-items-stretch {
	align-items: stretch !important;
}

.align-self-start {
	align-self: flex-start !important;
}
.align-self-end {
	align-self: flex-end !important;
}
.align-self-center {
	align-self: center !important;
}

.flex-fill {
	flex: 1 1 auto !important;
}
.flex-grow-0 {
	flex-grow: 0 !important;
}
.flex-grow-1 {
	flex-grow: 1 !important;
}
.flex-shrink-0 {
	flex-shrink: 0 !important;
}
.flex-shrink-1 {
	flex-shrink: 1 !important;
}

/* ================================
        UTILITIES - SPACING
================================ */

/* Margins */
.m-0 {
	margin: 0 !important;
}
.m-1 {
	margin: 0.25rem !important;
}
.m-2 {
	margin: 0.5rem !important;
}
.m-3 {
	margin: 1rem !important;
}
.m-4 {
	margin: 1.5rem !important;
}
.m-5 {
	margin: 3rem !important;
}
.m-auto {
	margin: auto !important;
}

.mt-0 {
	margin-top: 0 !important;
}
.mt-1 {
	margin-top: 0.25rem !important;
}
.mt-2 {
	margin-top: 0.5rem !important;
}
.mt-3 {
	margin-top: 1rem !important;
}
.mt-4 {
	margin-top: 1.5rem !important;
}
.mt-5 {
	margin-top: 3rem !important;
}
.mt-auto {
	margin-top: auto !important;
}

.mb-0 {
	margin-bottom: 0 !important;
}
.mb-1 {
	margin-bottom: 0.25rem !important;
}
.mb-2 {
	margin-bottom: 0.5rem !important;
}
.mb-3 {
	margin-bottom: 1rem !important;
}
.mb-4 {
	margin-bottom: 1.5rem !important;
}
.mb-5 {
	margin-bottom: 3rem !important;
}
.mb-auto {
	margin-bottom: auto !important;
}

.ms-0 {
	margin-left: 0 !important;
}
.ms-1 {
	margin-left: 0.25rem !important;
}
.ms-2 {
	margin-left: 0.5rem !important;
}
.ms-3 {
	margin-left: 1rem !important;
}
.ms-4 {
	margin-left: 1.5rem !important;
}
.ms-5 {
	margin-left: 3rem !important;
}
.ms-auto {
	margin-left: auto !important;
}

.me-0 {
	margin-right: 0 !important;
}
.me-1 {
	margin-right: 0.25rem !important;
}
.me-2 {
	margin-right: 0.5rem !important;
}
.me-3 {
	margin-right: 1rem !important;
}
.me-4 {
	margin-right: 1.5rem !important;
}
.me-5 {
	margin-right: 3rem !important;
}
.me-auto {
	margin-right: auto !important;
}

.mx-0 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.mx-1 {
	margin-left: 0.25rem !important;
	margin-right: 0.25rem !important;
}
.mx-2 {
	margin-left: 0.5rem !important;
	margin-right: 0.5rem !important;
}
.mx-3 {
	margin-left: 1rem !important;
	margin-right: 1rem !important;
}
.mx-4 {
	margin-left: 1.5rem !important;
	margin-right: 1.5rem !important;
}
.mx-5 {
	margin-left: 3rem !important;
	margin-right: 3rem !important;
}
.mx-auto {
	margin-left: auto !important;
	margin-right: auto !important;
}

.my-0 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.my-1 {
	margin-top: 0.25rem !important;
	margin-bottom: 0.25rem !important;
}
.my-2 {
	margin-top: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}
.my-3 {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
}
.my-4 {
	margin-top: 1.5rem !important;
	margin-bottom: 1.5rem !important;
}
.my-5 {
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}
.my-auto {
	margin-top: auto !important;
	margin-bottom: auto !important;
}

/* Padding */
.p-0 {
	padding: 0 !important;
}
.p-1 {
	padding: 0.25rem !important;
}
.p-2 {
	padding: 0.5rem !important;
}
.p-3 {
	padding: 1rem !important;
}
.p-4 {
	padding: 1.5rem !important;
}
.p-5 {
	padding: 3rem !important;
}

.pt-0 {
	padding-top: 0 !important;
}
.pt-1 {
	padding-top: 0.25rem !important;
}
.pt-2 {
	padding-top: 0.5rem !important;
}
.pt-3 {
	padding-top: 1rem !important;
}
.pt-4 {
	padding-top: 1.5rem !important;
}
.pt-5 {
	padding-top: 3rem !important;
}

.pb-0 {
	padding-bottom: 0 !important;
}
.pb-1 {
	padding-bottom: 0.25rem !important;
}
.pb-2 {
	padding-bottom: 0.5rem !important;
}
.pb-3 {
	padding-bottom: 1rem !important;
}
.pb-4 {
	padding-bottom: 1.5rem !important;
}
.pb-5 {
	padding-bottom: 3rem !important;
}

.ps-0 {
	padding-left: 0 !important;
}
.ps-1 {
	padding-left: 0.25rem !important;
}
.ps-2 {
	padding-left: 0.5rem !important;
}
.ps-3 {
	padding-left: 1rem !important;
}
.ps-4 {
	padding-left: 1.5rem !important;
}
.ps-5 {
	padding-left: 3rem !important;
}

.pe-0 {
	padding-right: 0 !important;
}
.pe-1 {
	padding-right: 0.25rem !important;
}
.pe-2 {
	padding-right: 0.5rem !important;
}
.pe-3 {
	padding-right: 1rem !important;
}
.pe-4 {
	padding-right: 1.5rem !important;
}
.pe-5 {
	padding-right: 3rem !important;
}

.px-0 {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.px-1 {
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
}
.px-2 {
	padding-left: 0.5rem !important;
	padding-right: 0.5rem !important;
}
.px-3 {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}
.px-4 {
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}
.px-5 {
	padding-left: 3rem !important;
	padding-right: 3rem !important;
}

.py-0 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.py-1 {
	padding-top: 0.25rem !important;
	padding-bottom: 0.25rem !important;
}
.py-2 {
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
}
.py-3 {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}
.py-4 {
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
}
.py-5 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

/* ================================
        UTILITIES - SIZING
================================ */

.w-25 {
	width: 25% !important;
}
.w-50 {
	width: 50% !important;
}
.w-75 {
	width: 75% !important;
}
.w-100 {
	width: 100% !important;
}
.w-auto {
	width: auto !important;
}

.h-25 {
	height: 25% !important;
}
.h-50 {
	height: 50% !important;
}
.h-75 {
	height: 75% !important;
}
.h-100 {
	height: 100% !important;
}
.h-auto {
	height: auto !important;
}

.mw-100 {
	max-width: 100% !important;
}
.mh-100 {
	max-height: 100% !important;
}

.vw-100 {
	width: 100vw !important;
}
.vh-100 {
	height: 100vh !important;
}

/* ================================
        UTILITIES - BORDERS
================================ */

.border {
	border: 1px solid var(--utila-border) !important;
}
.border-0 {
	border: 0 !important;
}
.border-top {
	border-top: 1px solid var(--utila-border) !important;
}
.border-end {
	border-right: 1px solid var(--utila-border) !important;
}
.border-bottom {
	border-bottom: 1px solid var(--utila-border) !important;
}
.border-start {
	border-left: 1px solid var(--utila-border) !important;
}

.border-primary {
	border-color: var(--utila-primary) !important;
}
.border-secondary {
	border-color: var(--utila-secondary) !important;
}
.border-success {
	border-color: var(--utila-success) !important;
}
.border-danger {
	border-color: var(--utila-danger) !important;
}

.rounded {
	border-radius: 8px !important;
}
.rounded-0 {
	border-radius: 0 !important;
}
.rounded-1 {
	border-radius: 4px !important;
}
.rounded-2 {
	border-radius: 8px !important;
}
.rounded-3 {
	border-radius: 12px !important;
}
.rounded-circle {
	border-radius: 50% !important;
}
.rounded-pill {
	border-radius: 50rem !important;
}

.rounded-top {
	border-top-left-radius: 8px !important;
	border-top-right-radius: 8px !important;
}
.rounded-end {
	border-top-right-radius: 8px !important;
	border-bottom-right-radius: 8px !important;
}
.rounded-bottom {
	border-bottom-left-radius: 8px !important;
	border-bottom-right-radius: 8px !important;
}
.rounded-start {
	border-top-left-radius: 8px !important;
	border-bottom-left-radius: 8px !important;
}

/* ================================
        UTILITIES - SHADOWS
================================ */

.shadow-none {
	box-shadow: none !important;
}
.shadow-sm {
	box-shadow: 0 2px 8px var(--utila-shadow) !important;
}
.shadow {
	box-shadow: 0 4px 12px var(--utila-shadow) !important;
}
.shadow-lg {
	box-shadow: 0 10px 30px var(--utila-shadow) !important;
}

/* ================================
        UTILITIES - POSITION
================================ */

.position-static {
	position: static !important;
}
.position-relative {
	position: relative !important;
}
.position-absolute {
	position: absolute !important;
}
.position-fixed {
	position: fixed !important;
}
.position-sticky {
	position: sticky !important;
}

.top-0 {
	top: 0 !important;
}
.top-50 {
	top: 50% !important;
}
.top-100 {
	top: 100% !important;
}

.bottom-0 {
	bottom: 0 !important;
}
.bottom-50 {
	bottom: 50% !important;
}
.bottom-100 {
	bottom: 100% !important;
}

.start-0 {
	left: 0 !important;
}
.start-50 {
	left: 50% !important;
}
.start-100 {
	left: 100% !important;
}

.end-0 {
	right: 0 !important;
}
.end-50 {
	right: 50% !important;
}
.end-100 {
	right: 100% !important;
}

/* ================================
        UTILITIES - OVERFLOW
================================ */

.overflow-auto {
	overflow: auto !important;
}
.overflow-hidden {
	overflow: hidden !important;
}
.overflow-visible {
	overflow: visible !important;
}
.overflow-scroll {
	overflow: scroll !important;
}

/* ================================
        UTILITIES - OPACITY
================================ */

.opacity-0 {
	opacity: 0 !important;
}
.opacity-25 {
	opacity: 0.25 !important;
}
.opacity-50 {
	opacity: 0.5 !important;
}
.opacity-75 {
	opacity: 0.75 !important;
}
.opacity-100 {
	opacity: 1 !important;
}

/* ================================
        UTILITIES - VISIBILITY
================================ */

.visible {
	visibility: visible !important;
}
.invisible {
	visibility: hidden !important;
}

/* ================================
        UTILITIES - Z-INDEX
================================ */

.z-index-n1 {
	z-index: -1 !important;
}
.z-index-0 {
	z-index: 0 !important;
}
.z-index-1 {
	z-index: 1 !important;
}
.z-index-2 {
	z-index: 2 !important;
}
.z-index-3 {
	z-index: 3 !important;
}

/* ================================
        UTILITIES - GAP
================================ */

.gap-0 {
	gap: 0 !important;
}
.gap-1 {
	gap: 0.25rem !important;
}
.gap-2 {
	gap: 0.5rem !important;
}
.gap-3 {
	gap: 1rem !important;
}
.gap-4 {
	gap: 1.5rem !important;
}
.gap-5 {
	gap: 3rem !important;
}

/* ================================
        ANIMATIONS
================================ */

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideLeft {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideRight {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

.fade-in {
	animation: fadeIn 0.3s ease;
}
.slide-up {
	animation: slideUp 0.3s ease;
}
.slide-down {
	animation: slideDown 0.3s ease;
}
.slide-left {
	animation: slideLeft 0.3s ease;
}
.slide-right {
	animation: slideRight 0.3s ease;
}
.pulse {
	animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
