/****************************************************
 * MODULE : Main Style
 * FILE   : assets/css/style.css
 * PHP VERSIONS : 5.6
 ****************************************************/

/* General */
body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: #f8f9fa;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
}

a {
	text-decoration: none;
	transition: all 0.3s;
}

a:hover {
	text-decoration: none;
}

/* Buttons */
.btn {
	border-radius: 8px;
	font-weight: 500;
	padding: 8px 20px;
	transition: all 0.3s;
}

.btn-primary {
	background: #4e73df;
	border-color: #4e73df;
}

.btn-primary:hover {
	background: #2e59d9;
	border-color: #2e59d9;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(78, 115, 223, 0.3);
}

.btn-success {
	background: #1cc88a;
	border-color: #1cc88a;
}

.btn-success:hover {
	background: #17a673;
	border-color: #17a673;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(28, 200, 138, 0.3);
}

.btn-danger {
	background: #e74a3b;
	border-color: #e74a3b;
}

.btn-danger:hover {
	background: #c0392b;
	border-color: #c0392b;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(231, 74, 59, 0.3);
}

.btn-warning {
	background: #f6c23e;
	border-color: #f6c23e;
	color: #333;
}

.btn-warning:hover {
	background: #dda20a;
	border-color: #dda20a;
	color: #333;
	transform: translateY(-1px);
}

.btn-outline-primary:hover {
	transform: translateY(-1px);
}

.btn-sm {
	padding: 5px 12px;
	font-size: 12px;
}

.btn-lg {
	padding: 12px 28px;
	font-size: 16px;
}

/* Forms */
.form-control {
	border-radius: 8px;
	border: 2px solid #e3e6f0;
	padding: 10px 15px;
	transition: all 0.3s;
}

.form-control:focus {
	border-color: #4e73df;
	box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-control-lg {
	padding: 12px 20px;
	font-size: 16px;
}

.form-label {
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.form-text {
	color: #6c757d;
	font-size: 12px;
	margin-top: 4px;
}

/* Cards */
.card {
	border: none;
	border-radius: 10px;
	box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
	transition: all 0.3s;
}

.card:hover {
	box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2);
}

.card-header {
	background: transparent;
	border-bottom: 1px solid #e3e6f0;
	padding: 15px 20px;
}

.card-header h6 {
	margin: 0;
	font-weight: 700;
	color: #4e73df;
}

.card-body {
	padding: 20px;
}

/* Tables */
.table {
	margin-bottom: 0;
}

.table th {
	font-weight: 600;
	color: #5a5c69;
	border-top: none;
	border-bottom: 2px solid #e3e6f0;
}

.table td {
	vertical-align: middle;
	border-bottom: 1px solid #e3e6f0;
}

.table-hover tbody tr:hover {
	background: #f8f9fa;
}

/* Badges */
.badge {
	padding: 5px 10px;
	border-radius: 20px;
	font-weight: 500;
	font-size: 11px;
}

.badge-success {
	background: #1cc88a;
	color: #fff;
}

.badge-danger {
	background: #e74a3b;
	color: #fff;
}

.badge-warning {
	background: #f6c23e;
	color: #333;
}

.badge-info {
	background: #36b9cc;
	color: #fff;
}

.badge-primary {
	background: #4e73df;
	color: #fff;
}

.badge-secondary {
	background: #6c757d;
	color: #fff;
}

/* Alerts */
.alert {
	border: none;
	border-radius: 10px;
	padding: 15px 20px;
}

.alert-success {
	background: #d4edda;
	color: #155724;
}

.alert-danger {
	background: #f8d7da;
	color: #721c24;
}

.alert-warning {
	background: #fff3cd;
	color: #856404;
}

.alert-info {
	background: #d1ecf1;
	color: #0c5460;
}

/* Modals */
.modal-content {
	border: none;
	border-radius: 15px;
	box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.3);
}

.modal-header {
	border-bottom: 1px solid #e3e6f0;
	padding: 15px 20px;
}

.modal-header .modal-title {
	font-weight: 700;
	color: #2c3e50;
}

.modal-footer {
	border-top: 1px solid #e3e6f0;
	padding: 15px 20px;
}

/* Dropdowns */
.dropdown-menu {
	border: none;
	border-radius: 10px;
	box-shadow: 0 0.5rem 1rem 0 rgba(58, 59, 69, 0.2);
	padding: 8px 0;
}

.dropdown-item {
	padding: 8px 20px;
	font-size: 14px;
	transition: all 0.3s;
}

.dropdown-item:hover {
	background: #f8f9fa;
}

.dropdown-item i {
	margin-right: 10px;
	width: 20px;
}

/* Progress Bars */
.progress {
	border-radius: 10px;
	height: 8px;
	background: #e9ecef;
}

.progress-bar {
	border-radius: 10px;
	background: #4e73df;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 0.5s ease;
}

@keyframes slideIn {
	from {
		transform: translateX(-20px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.slide-in {
	animation: slideIn 0.3s ease;
}

/* Utilities */
.text-gradient {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.shadow-hover {
	transition: all 0.3s;
}

.shadow-hover:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 2rem 0 rgba(58, 59, 69, 0.2) !important;
}

.cursor-pointer {
	cursor: pointer;
}

.w-100 {
	width: 100%;
}

.h-100 {
	height: 100%;
}

/* Print */
@media print {
	.sidebar,
	.navbar,
	.footer {
		display: none !important;
	}

	.main-content {
		margin-left: 0 !important;
		padding: 0 !important;
	}
}
