/* 
 * Custom Modern Enhancements for Wisuda Online
 * Built on top of AdminLTE 2.3.6
 * Author: AI Assistant
 * Date: 2026-01-12
 */

/* ========================================
   MODERN GRADIENT INFO BOXES
   ======================================== */

.info-box {
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: none;
	overflow: hidden;
	position: relative;
}

/* Ensure text is white on colored backgrounds */
.info-box[class*="bg-"] {
	color: #fff !important;
}

.info-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gradient Backgrounds */
.info-box.bg-aqua {
	background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
}

.info-box.bg-red {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.info-box.bg-orange {
	background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

.info-box.bg-green {
	background: linear-gradient(135deg, #30cfd0 0%, #330867 100%) !important;
}

.info-box.bg-yellow {
	background: linear-gradient(135deg, #ffb75e 0%, #ed8f03 100%) !important;
}

.info-box.bg-gray {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Icon Animation */
.info-box-icon {
	transition: all 0.3s ease;
	background: rgba(0, 0, 0, 0.2) !important; /* Semi-transparent darkness */
	color: #fff !important;
}

.quota-badge {
	background: rgba(255, 255, 255, 0.25);
	border-radius: 15px;
	padding: 2px 10px;
	font-size: 13px;
	font-weight: 600;
	margin-left: 8px;
	vertical-align: middle;
	display: inline-block;
}

.info-box:hover .info-box-icon {
	transform: scale(1.1) rotate(5deg);
}

/* Number Styling */
.info-box-number {
	font-size: 32px !important;
	font-weight: 700 !important;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box-text {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ========================================
   CONTENT HEADER IMPROVEMENTS
   ======================================== */

.content-header {
	background: transparent;
	color: #333;
	padding: 15px 15px 20px 15px;
	margin: 0;
	border-radius: 0;
	border-bottom: 1px solid #e1e4e8;
	margin-bottom: 20px;
}

.content-header h1 {
	color: #2c3e50 !important;
	font-weight: 800;
	font-size: 28px;
	margin: 0;
	letter-spacing: -0.5px;
	text-shadow: none;
	display: inline-block;
	position: relative;
}

/* Add a polished underline accent */
.content-header h1::after {
	content: "";
	display: block;
	width: 40px;
	height: 4px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	margin-top: 8px;
	border-radius: 2px;
}

.content-header .breadcrumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 20px;
	padding: 8px 15px;
}

.content-header .breadcrumb > li + li:before {
	color: rgba(255, 255, 255, 0.8);
}

.content-header .breadcrumb > li > a {
	color: white;
}

.content-header .breadcrumb > .active {
	color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   BOX IMPROVEMENTS
   ======================================== */

.box {
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-top: 3px solid #3c8dbc;
	transition: all 0.3s ease;
}

.box:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.box-header.with-border {
	border-bottom: 2px solid #f4f4f4;
	padding: 15px;
}

.box-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

/* ========================================
   MAIN HEADER ENHANCEMENTS
   ======================================== */

.main-header .logo {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	border-bottom: none;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.main-header .navbar {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.skin-blue .main-header .navbar .sidebar-toggle:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   SIDEBAR IMPROVEMENTS - MODERN STYLE
   ======================================== */

.main-sidebar {
	box-shadow: 3px 0 15px rgba(0, 0, 0, 0.15);
	background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
}

.sidebar {
	padding-bottom: 20px;
}

/* Sidebar Header */
.sidebar-menu > li.header {
	color: rgba(255, 255, 255, 0.6);
	background: rgba(0, 0, 0, 0.15);
	padding: 15px 20px;
	font-size: 11px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	font-weight: 700;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Menu Items */
.sidebar-menu > li > a {
	color: rgba(255, 255, 255, 0.85);
	padding: 14px 20px;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
}

.sidebar-menu > li > a > i {
	width: 22px;
	text-align: center;
	margin-right: 12px;
	font-size: 16px;
	transition: all 0.3s ease;
}

/* Hover Effect */
.sidebar-menu > li > a:hover {
	background: rgba(255, 255, 255, 0.1);
	border-left: 3px solid #00d4ff;
	color: #fff;
	padding-left: 25px;
}

.sidebar-menu > li > a:hover > i {
	color: #00d4ff;
	transform: scale(1.1);
}

/* Active State */
.sidebar-menu > li.active > a {
	background: linear-gradient(
		135deg,
		rgba(0, 212, 255, 0.2) 0%,
		rgba(118, 75, 162, 0.2) 100%
	);
	border-left: 3px solid #00d4ff;
	color: #fff;
	font-weight: 600;
}

.sidebar-menu > li.active > a > i {
	color: #00d4ff;
}

/* Mobile Sidebar Enhancements */
@media (max-width: 767px) {
	.main-sidebar {
		background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
	}

	.sidebar-menu > li > a {
		padding: 16px 20px;
	}
}

/* ========================================
   FOOTER IMPROVEMENTS
   ======================================== */

.main-footer {
	background: #f9f9f9;
	border-top: 2px solid #e7e7e7;
	padding: 15px;
	font-size: 13px;
}

/* ========================================
   TIMELINE IMPROVEMENTS
   ======================================== */

.timeline > li > .timeline-item {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.timeline > li > .timeline-item:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	transform: translateX(5px);
}

.timeline > li > .timeline-item > .timeline-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border-radius: 8px 8px 0 0;
}

.timeline > li > .timeline-item > .timeline-header > a {
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.timeline > li > .timeline-item > .timeline-header > small {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* ========================================
   CALLOUT IMPROVEMENTS
   ======================================== */

.callout {
	border-radius: 8px;
	border-left-width: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.callout-info {
	border-left-color: #00c0ef;
	background: linear-gradient(
		135deg,
		rgba(0, 192, 239, 0.1) 0%,
		rgba(0, 192, 239, 0.05) 100%
	);
}

/* ========================================
   BUTTON IMPROVEMENTS
   ======================================== */

.btn {
	border-radius: 6px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
}

.btn-success {
	background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
	border: none;
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
   ======================================== */

@media (max-width: 767px) {
	.info-box {
		margin-bottom: 15px;
	}

	.content-header h1 {
		font-size: 22px;
	}

	.info-box-number {
		font-size: 24px !important;
	}
}

/* ========================================
   LOADING ANIMATION
   ======================================== */

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

.info-box {
	animation: fadeInUp 0.6s ease-out;
}

.info-box:nth-child(1) {
	animation-delay: 0.1s;
}
.info-box:nth-child(2) {
	animation-delay: 0.2s;
}
.info-box:nth-child(3) {
	animation-delay: 0.3s;
}
.info-box:nth-child(4) {
	animation-delay: 0.4s;
}
.info-box:nth-child(5) {
	animation-delay: 0.5s;
}
.info-box:nth-child(6) {
	animation-delay: 0.6s;
}

/* ========================================
   CONTENT WRAPPER
   ======================================== */

.content-wrapper {
	background: #f4f6f9;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.shadow-sm {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.shadow-md {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.shadow-lg {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
}

.rounded {
	border-radius: 8px;
}

.rounded-lg {
	border-radius: 12px;
}

/* ========================================
   MODERN FORM STYLES (Login & Register)
   ======================================== */

.modern-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	border: none;
	overflow: hidden;
}

.modern-box .box-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 20px;
	border-bottom: none;
}

.modern-box .box-title {
	font-weight: 700;
	font-size: 20px;
}

.modern-box .box-body {
	padding: 30px;
}

.form-control {
	border-radius: 6px;
	border: 1px solid #ddd;
	box-shadow: none;
	transition: all 0.3s ease;
	height: 45px;
}

.form-control:focus {
	border-color: #764ba2;
	box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

.btn-modern {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 6px;
	padding: 12px 25px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(118, 75, 162, 0.3);
}

.btn-modern:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(118, 75, 162, 0.4);
	color: white;
}

.btn-modern:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ========================================
   SISTER BUTTON STYLE
   ======================================== */

.btn-sister {
	background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
	color: white;
	border: none;
	border-radius: 6px;
	padding: 12px 25px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 6px rgba(0, 176, 155, 0.3);
	margin-right: 10px;
}

.btn-sister:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 176, 155, 0.4);
	color: white;
	background: linear-gradient(135deg, #00d4b5 0%, #a8db4e 100%);
}

.btn-sister:disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}
