/* Medical Platform Theme - Gradient Color Scheme */
:root {
	/* --primary-gradient: linear-gradient(rgba(0, 0, 0, 0.7), #079184); */
	/* --primary-gradient: linear-gradient(#079184, #079184); */
    --primary-gradient: linear-gradient(#81D4FA, #29B6F6);
	/* --primary-color: #079184; */
    --primary-color: #29B6F6;
    --text-primary-color: #29B6F6;
	/* --primary-dark: #056b5f; */
	--primary-light: #0aa896;
	--secondary-color: #f8fafc;
	--accent-color: #0ea5e9;
	--text-primary: #1f2937;
	--text-secondary: #6b7280;
	--text-light: #9ca3af;
	--background-light: #f9fafb;
	--border-color: #e5e7eb;
	--shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
	--shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: #ffffff;
}

/* Gradient Background Classes */
.bg-gradient-primary {
	background: var(--primary-gradient);
}

.bg-gradient-primary-solid {
	background: var(--primary-color);
}

.bg-gradient-primary-light {
	background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* .bg-gradient-primary-dark {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
} */

/* Text Colors */
.text-primary {
	color: var(--primary-color);
}

/* .text-primary-dark {
	color: var(--primary-dark);
} */

.text-primary-light {
	color: var(--primary-light);
}

/* Button Styles */
.btn-primary {
	background: var(--primary-gradient);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.btn-primary:hover {
	/* background: var(--primary-dark); */
	transform: translateY(-1px);
	box-shadow: var(--shadow-medium);
}

.btn-primary:active {
	transform: translateY(0);
}

.btn-secondary {
	background: white;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.btn-secondary:hover {
	background: var(--primary-color);
	color: white;
	transform: translateY(-1px);
	box-shadow: var(--shadow-medium);
}

/* Card Styles */
.card {
	background: white;
	border-radius: 0.75rem;
	box-shadow: var(--shadow-light);
	border: 1px solid var(--border-color);
	transition: all 0.3s ease;
}

.card:hover {
	box-shadow: var(--shadow-medium);
	transform: translateY(-2px);
}

.card-gradient {
	background: var(--primary-gradient);
	color: white;
}

.card-gradient .text-primary {
	color: white;
}

/* Navigation Styles */
.navbar {
	background: white;
	border-bottom: 1px solid var(--border-color);
	box-shadow: var(--shadow-light);
}

.navbar-brand {
	color: var(--primary-color);
	font-weight: 700;
	font-size: 1.5rem;
}

.nav-link {
	color: var(--text-primary);
	font-weight: 500;
	transition: color 0.3s ease;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
}

.nav-link:hover {
	color: var(--primary-color);
	background-color: var(--background-light);
}

.nav-link.active {
	color: var(--primary-color);
	background-color: rgba(7, 145, 132, 0.1);
}

/* Form Styles */
.form-input {
	border: 2px solid var(--border-color);
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: all 0.3s ease;
	background: white;
}

.form-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(7, 145, 132, 0.1);
	outline: none;
}

.form-label {
	color: var(--text-primary);
	font-weight: 600;
	margin-bottom: 0.5rem;
	display: block;
}

/* Badge Styles */
.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
}

.badge-primary {
	background: var(--primary-color);
	color: white;
}

.badge-secondary {
	background: var(--background-light);
	color: var(--text-primary);
}

.badge-success {
	background: #10b981;
	color: white;
}

.badge-warning {
	background: #f59e0b;
	color: white;
}

.badge-danger {
	background: #ef4444;
	color: white;
}

/* Alert Styles */
.alert {
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
}

.alert-primary {
	background: rgba(7, 145, 132, 0.1);
	border-color: var(--primary-color);
	/* color: var(--primary-dark); */
}

.alert-success {
	background: rgba(16, 185, 129, 0.1);
	border-color: #10b981;
	color: #065f46;
}

.alert-warning {
	background: rgba(245, 158, 11, 0.1);
	border-color: #f59e0b;
	color: #92400e;
}

.alert-danger {
	background: rgba(239, 68, 68, 0.1);
	border-color: #ef4444;
	color: #991b1b;
}

/* Footer Styles */
.footer {
	background: var(--primary-gradient);
	color: white;
}

.footer a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.3s ease;
}

.footer a:hover {
	color: white;
}

/* Loading Spinner */
.spinner {
	border: 3px solid rgba(7, 145, 132, 0.3);
	border-top: 3px solid var(--primary-color);
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Utility Classes */
.text-gradient {
	background: var(--primary-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.border-gradient {
	border: 2px solid transparent;
	background: linear-gradient(white, white) padding-box,
		var(--primary-gradient) border-box;
}

.shadow-primary {
	box-shadow: 0 4px 14px 0 rgba(7, 145, 132, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {

	.btn-primary,
	.btn-secondary {
		padding: 0.625rem 1.25rem;
		font-size: 0.875rem;
	}

	.card {
		border-radius: 0.5rem;
	}
}

/* Dark Mode Support */
/* @media (prefers-color-scheme: dark) {
	:root {
		--text-primary: #f9fafb;
		--text-secondary: #d1d5db;
		--text-light: #9ca3af;
		--background-light: #1f2937;
		--border-color: #374151;
	}

	body {
		background-color: #111827;
		color: var(--text-primary);
	}

	.card {
		background: #1f2937;
		border-color: var(--border-color);
	}

	.navbar {
		background: #1f2937;
		border-color: var(--border-color);
	}

	.form-input {
		background: #1f2937;
		border-color: var(--border-color);
		color: var(--text-primary);
	}
} */

/* Custom Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
	width: 50px !important;
	height: 50px !important;
	background: var(--primary-color) !important;
	border-radius: 50% !important;
	box-shadow: 0 4px 15px rgba(7, 145, 132, 0.2) !important;
	transition: all 0.3s ease !important;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10 !important;
	overflow: hidden !important;
}

/* Position Next Button on Right */
.swiper-button-next {
	right: 10px !important;
}

/* Position Prev Button on Left */
.swiper-button-prev {
	left: 10px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 18px !important;
	font-weight: bold !important;
	color: white !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	transform: scale(1.1) !important;
	box-shadow: 0 8px 25px rgba(7, 145, 132, 0.3) !important;
}

.swiper-button-next:active,
.swiper-button-prev:active {
	transform: scale(0.95) !important;
}

/* Swiper Button Pseudo Elements for Enhanced Effects */
.swiper-button-next::before,
.swiper-button-prev::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.swiper-button-next:hover::before,
.swiper-button-prev:hover::before {
	opacity: 1;
}

/* Custom Pagination Bullets */
.custom-pagination-bullet {
	width: 12px !important;
	height: 12px !important;
	background: rgba(7, 145, 132, 0.3) !important;
	border-radius: 50% !important;
	opacity: 1 !important;
	transition: all 0.3s ease !important;
	margin: 0 6px !important;
}

.custom-pagination-bullet-active {
	background: var(--primary-color) !important;
	transform: scale(1.2) !important;
	box-shadow: 0 2px 8px rgba(7, 145, 132, 0.4) !important;
}

.custom-pagination-bullet:hover {
	background: var(--primary-light) !important;
	transform: scale(1.1) !important;
}

/* Swiper Pagination Container */
.swiper-pagination {
	bottom: 20px !important;
}

.swiper-pagination-bullets {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
}

/* Enhanced Swiper Container */
.swiper {
	position: relative;
	overflow: hidden;
}

.swiper::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	pointer-events: none;
	z-index: 1;
}

/* Swiper Slide Enhancements */
.swiper-slide {
	transition: all 0.3s ease;
}

.swiper-slide:hover {
	transform: translateY(-5px);
}

/* Mobile Swiper Adjustments */
@media (max-width: 768px) {

	.swiper-button-next,
	.swiper-button-prev {
		width: 40px !important;
		height: 40px !important;
	}

	.swiper-button-next:after,
	.swiper-button-prev:after {
		font-size: 14px !important;
	}

	.custom-pagination-bullet {
		width: 10px !important;
		height: 10px !important;
		margin: 0 4px !important;
	}
}

/* Swiper Loading Animation */
.swiper-slide-active {
	animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

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

/* Swiper Autoplay Progress */
.swiper-autoplay-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: rgba(7, 145, 132, 0.2);
	z-index: 2;
}

.swiper-autoplay-progress-bar {
	height: 100%;
	background: var(--primary-gradient);
	transition: width 0.1s linear;
}
