/**
 * Certification Request Analytics Page Styles
 *
 * @package     THIC
 * @subpackage  Stats/Certification_Request
 * @author      THIC Development Team
 * @copyright   Copyright (c) 2025, THIC
 */

/* ========================================
   Page Layout
   ======================================== */
.page-stats-certification-request {
	padding-top: 180px;
	padding-bottom: 200px;
    margin-bottom: 80px;
	background-color: #f8fafc;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	color: #334155;
	min-height: 80vh;
}

/* ========================================
   Section Title
   ======================================== */
.section-title h2 {
	font-weight: 800;
	color: #0f172a;
	position: relative;
	display: inline-block;
	margin-bottom: 1rem;
}

.section-title p {
	color: #64748b;
	font-size: 1.1rem;
}

/* ========================================
   Card Styles
   ======================================== */
.card {
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	border: none;
	margin-bottom: 2rem;
	overflow: hidden;
}

.card-header {
	background: transparent;
	border-bottom: 1px solid #f1f5f9;
	padding: 1.5rem 2rem;
	display: flex;
	align-items: center;
}

.card-header h4 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.card-header h4 i {
	color: #6366f1;
	font-size: 1.5rem;
	background: rgba(99, 102, 241, 0.1);
	padding: 8px;
	border-radius: 12px;
}

.card-body {
	padding: 2rem;
}

/* ========================================
   Form Elements
   ======================================== */
.form-label {
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
}

.form-control {
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 0.75rem 1rem;
	font-size: 0.95rem;
	transition: all 0.2s;
	background-color: #f8fafc;
}

.form-control:focus {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
	background-color: #fff;
	outline: none;
}

/* ========================================
   Table Styles
   ======================================== */
.table {
	font-size: 0.95rem;
}

.table thead th {
	font-weight: 600;
	color: #475569;
	border-bottom: 2px solid #e2e8f0;
	padding: 1rem;
}

.table tbody td {
	padding: 1rem;
	vertical-align: middle;
	border-bottom: 1px solid #f1f5f9;
}

.table-hover tbody tr:hover {
	background-color: #f8fafc;
}

.badge {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 8px;
}

.badge.bg-primary {
	background-color: rgba(99, 102, 241, 0.1) !important;
	color: #6366f1 !important;
}

/* ========================================
   Chart Container
   ======================================== */
#certificationRequestChart {
	max-height: 600px;
	width: 100%;
}

/* ========================================
   Empty State
   ======================================== */
.text-center.text-muted {
	color: #94a3b8;
}

.text-center.text-muted .bx {
	color: #cbd5e1;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 767px) {
	.page-stats-certification-request {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.section-title h2 {
		font-size: 1.75rem;
	}

	.section-title p {
		font-size: 1rem;
	}

	.card-body {
		padding: 1.25rem;
	}

	.card-header {
		padding: 1.25rem;
	}

	.card-header h4 {
		font-size: 1.1rem;
	}

	#certificationRequestChart {
		max-height: 450px !important;
	}

	.table {
		font-size: 0.85rem;
	}

	.table thead th,
	.table tbody td {
		padding: 0.75rem 0.5rem;
	}

	.badge {
		padding: 0.4rem 0.8rem;
		font-size: 0.8rem;
	}

	.form-label {
		font-size: 0.85rem;
	}

	.form-control {
		font-size: 0.9rem;
		padding: 0.65rem 0.9rem;
	}
}

/* ========================================
   Additional Utilities
   ======================================== */
.fw-medium {
	font-weight: 500;
}

.fs-1 {
	font-size: 3rem;
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.py-5 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
