/**
 * School Enrollments - Frontend Styles
 *
 * @package SchoolEnrollments
 */

/* Container */
.escola-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Title */
.escola-title {
	font-size: 28px;
	font-weight: 600;
	color: #1e3a5f;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #3498db;
}

.escola-subtitle {
	font-size: 16px;
	color: #666;
	margin-bottom: 20px;
}

/* Stats Grid */
.escola-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.escola-stat-card {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	gap: 15px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.escola-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

a.escola-stat-link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

a.escola-stat-link:hover {
	text-decoration: none;
	color: inherit;
}

.escola-stat-card.escola-stat-success {
	border-left: 4px solid #28a745;
}

.escola-stat-card.escola-stat-warning {
	border-left: 4px solid #ffc107;
}

.escola-stat-card.escola-stat-danger {
	border-left: 4px solid #dc3545;
}

.escola-stat-card.escola-stat-cancelled {
	border-left: 4px solid #6c757d;
	opacity: 0.7;
}

.escola-stat-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.escola-stat-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #fff;
}

.escola-stat-content h3 {
	font-size: 32px;
	font-weight: 700;
	color: #1e3a5f;
	margin: 0 0 5px 0;
}

.escola-stat-content p {
	font-size: 14px;
	color: #666;
	margin: 0;
}

/* Tables */
.escola-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

.escola-table thead {
	background: #1e3a5f;
}

.escola-table thead th {
	padding: 15px;
	text-align: left;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}

.escola-table tbody tr {
	border-bottom: 1px solid #eee;
}

.escola-table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.escola-table tbody tr:hover {
	background: #f0f7ff;
}

.escola-table tbody td {
	padding: 12px 15px;
	font-size: 14px;
	color: #333;
}

/* Status Badge */
.escola-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
}

/* Buttons */
.escola-btn {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background-color 0.2s, transform 0.2s;
}

.escola-btn:hover {
	transform: translateY(-1px);
}

.escola-btn-primary {
	background: #3498db;
	color: #fff;
}

.escola-btn-primary:hover {
	background: #2980b9;
	color: #fff;
}

.escola-btn-secondary {
	background: #6c757d;
	color: #fff;
}

.escola-btn-secondary:hover {
	background: #5a6268;
	color: #fff;
}

.escola-btn-small {
	padding: 6px 12px;
	font-size: 12px;
}

/* Search Form */
.escola-search-form {
	display: flex;
	gap: 10px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.escola-search-form input[type="text"],
.escola-search-form input[type="search"] {
	flex: 1;
	min-width: 200px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
}

.escola-search-form input:focus {
	border-color: #3498db;
	outline: none;
	box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Filter Form */
.escola-filter-form {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-bottom: 25px;
	flex-wrap: wrap;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
}

.escola-filter-form label {
	font-weight: 600;
	color: #333;
}

.escola-filter-form input,
.escola-filter-form select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
}

/* Courses Grid */
.escola-courses-grid {
	display: grid;
	gap: 25px;
}

.escola-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.escola-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.escola-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
	.escola-columns-4,
	.escola-columns-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.escola-columns-4,
	.escola-columns-3,
	.escola-columns-2 {
		grid-template-columns: 1fr;
	}
}

/* Course Card */
.escola-course-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s, box-shadow 0.2s;
}

.escola-course-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.escola-course-header {
	background: linear-gradient(135deg, #1e3a5f, #2c5282);
	padding: 20px;
	color: #fff;
}

.escola-course-header h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	font-weight: 600;
	color: #d1d5db;
}

.escola-course-category {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
}

.escola-course-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.escola-tag-open {
	background: #d4edda;
	color: #155724;
}

.escola-tag-full {
	background: #f8d7da;
	color: #721c24;
}

.escola-course-body {
	padding: 20px;
}

.escola-course-description {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
}

.escola-course-price {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.escola-price-label {
	font-size: 14px;
	color: #666;
}

.escola-price-value {
	font-size: 24px;
	font-weight: 700;
	color: #27ae60;
}

.escola-course-enrollment-fee {
	color: #999;
	font-size: 12px;
}

/* Course Card Link */
.escola-course-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

.escola-course-card-link:hover,
.escola-course-card-link:focus {
	text-decoration: none;
	color: inherit;
}

.escola-course-view-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #2c5282;
	transition: color 0.2s;
}

.escola-course-card-link:hover .escola-course-view-more {
	color: #1e3a5f;
}

/* Back Link */
.escola-back-link {
	display: inline-block;
	margin-bottom: 20px;
	color: #2c5282;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s;
}

.escola-back-link:hover {
	color: #1e3a5f;
	text-decoration: none;
}

/* Course Detail */
.escola-detail {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.escola-detail-header {
	background: linear-gradient(135deg, #1e3a5f, #2c5282);
	padding: 30px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
}

.escola-detail-header-content {
	flex: 1;
}

.escola-detail-title {
	margin: 0 0 12px 0;
	font-size: 28px;
	font-weight: 700;
	color: #e2e8f0;
}

.escola-detail-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 13px;
	margin-right: 8px;
}

.escola-detail-status {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}

.escola-detail-status-active {
	background: rgba(39, 174, 96, 0.3);
	color: #a7f3d0;
}

.escola-detail-status-full {
	background: rgba(231, 76, 60, 0.3);
	color: #fca5a5;
}

.escola-detail-status-inactive {
	background: rgba(149, 165, 166, 0.3);
	color: #d1d5db;
}

.escola-detail-price-highlight {
	text-align: center;
	background: rgba(255, 255, 255, 0.15);
	padding: 15px 25px;
	border-radius: 10px;
	min-width: 150px;
}

.escola-detail-price-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.8;
	margin-bottom: 4px;
}

.escola-detail-price-amount {
	display: block;
	font-size: 28px;
	font-weight: 700;
	color: #a7f3d0;
}

.escola-detail-body {
	padding: 30px;
}

/* Info Cards Grid */
.escola-detail-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 30px;
}

.escola-detail-info-card {
	background: #f8fafc;
	border-radius: 10px;
	padding: 18px;
	text-align: center;
	border: 1px solid #e2e8f0;
}

.escola-detail-info-icon {
	display: block;
	font-size: 24px;
	margin-bottom: 8px;
}

.escola-detail-info-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #94a3b8;
	margin-bottom: 4px;
}

.escola-detail-info-value {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
}

/* Detail Sections */
.escola-detail-section {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e2e8f0;
}

.escola-detail-section:last-of-type {
	border-bottom: none;
}

.escola-detail-section h3 {
	margin: 0 0 16px 0;
	font-size: 18px;
	font-weight: 600;
	color: #1e3a5f;
}

/* Schedule */
.escola-detail-days {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.escola-detail-day {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
}

.escola-detail-time {
	font-size: 16px;
	font-weight: 600;
	color: #334155;
	margin: 0;
}

/* Description */
.escola-detail-description {
	color: #475569;
	font-size: 15px;
	line-height: 1.7;
}

.escola-detail-description p:last-child {
	margin-bottom: 0;
}

/* Pricing Table */
.escola-detail-pricing {
	background: #f8fafc;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.escola-detail-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #e2e8f0;
}

.escola-detail-price-row:last-child {
	border-bottom: none;
}

.escola-detail-price-row span {
	color: #64748b;
	font-size: 14px;
}

.escola-detail-price-row strong {
	color: #1e293b;
	font-size: 16px;
}

/* Enroll CTA */
.escola-detail-cta {
	text-align: center;
	padding-top: 10px;
}

.escola-btn-enroll {
	display: inline-block;
	background: linear-gradient(135deg, #27ae60, #2ecc71);
	color: #fff !important;
	padding: 16px 48px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.escola-btn-enroll:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
	color: #fff;
	text-decoration: none;
}

.escola-btn-disabled {
	display: inline-block;
	background: #94a3b8;
	color: #fff;
	padding: 16px 48px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
	cursor: not-allowed;
	opacity: 0.7;
}

/* Detail Responsive */
@media (max-width: 768px) {
	.escola-detail-header {
		flex-direction: column;
		padding: 20px;
	}

	.escola-detail-title {
		font-size: 22px;
	}

	.escola-detail-price-highlight {
		width: 100%;
	}

	.escola-detail-body {
		padding: 20px;
	}

	.escola-detail-grid {
		grid-template-columns: 1fr 1fr;
	}

	.escola-btn-enroll,
	.escola-btn-disabled {
		width: 100%;
		text-align: center;
		padding: 14px 20px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.escola-detail-grid {
		grid-template-columns: 1fr;
	}
}

/* Reports Grid */
.escola-reports-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.escola-report-card {
	background: #fff;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-left: 4px solid #3498db;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.escola-report-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.escola-report-card .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: #1e3a5f;
	margin-bottom: 15px;
}

.escola-report-card h3 {
	margin: 0 0 10px 0;
	font-size: 18px;
	color: #1e3a5f;
}

.escola-report-card p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

/* My Courses */
.escola-my-courses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.escola-my-course-card {
	background: #fff;
	border-radius: 10px;
	padding: 25px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	border-top: 4px solid #3498db;
}

.escola-my-course-card h3 {
	margin: 0 0 15px 0;
	font-size: 18px;
	color: #1e3a5f;
}

.escola-my-course-card p {
	margin: 0 0 15px 0;
	color: #666;
	font-size: 14px;
}

/* Notices */
.escola-notice {
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.escola-notice-warning {
	background: #fff3cd;
	border: 1px solid #ffc107;
	color: #856404;
}

.escola-notice-error {
	background: #f8d7da;
	border: 1px solid #dc3545;
	color: #721c24;
}

.escola-notice-info {
	background: #d1ecf1;
	border: 1px solid #17a2b8;
	color: #0c5460;
}

.escola-notice-success {
	background: #d4edda;
	border: 1px solid #28a745;
	color: #155724;
}

.escola-notice p {
	margin: 0 0 10px 0;
}

.escola-notice p:last-child {
	margin-bottom: 0;
}

/* No Results */
.escola-no-results {
	text-align: center;
	padding: 40px;
	color: #666;
	background: #f8f9fa;
	border-radius: 8px;
}

.escola-no-results.escola-success {
	background: #d4edda;
	color: #155724;
}

/* Paid Label */
.escola-paid-label {
	color: #28a745;
	font-weight: 600;
	font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
	.escola-container {
		padding: 15px;
	}

	.escola-title {
		font-size: 22px;
	}

	.escola-table {
		display: block;
		overflow-x: auto;
	}

	.escola-stats {
		grid-template-columns: 1fr;
	}

	.escola-stat-card {
		flex-direction: column;
		text-align: center;
	}

	.escola-filter-form {
		flex-direction: column;
		align-items: stretch;
	}

	.escola-filter-form input,
	.escola-filter-form select {
		width: 100%;
	}
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
	.escola-container {
		color: #e0e0e0;
	}

	.escola-table tbody tr:nth-child(even) {
		background: rgba(255, 255, 255, 0.05);
	}

	.escola-table tbody tr:hover {
		background: rgba(52, 152, 219, 0.1);
	}
}

/* ===== Self-Enrollment Form ===== */
.escola-enrollment-form-container {
	max-width: 800px;
}

.escola-enrollment-course-info {
	background: linear-gradient(135deg, #1e3a5f, #2d5a8e);
	color: #fff;
	padding: 20px 25px;
	border-radius: 12px;
	margin-bottom: 25px;
}

.escola-enrollment-course-info p {
	margin: 5px 0;
	color: #e2e8f0;
	font-size: 15px;
}

.escola-enrollment-course-info strong {
	color: #fff;
}

.escola-fieldset {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px 25px;
	margin-bottom: 20px;
	background: #fff;
}

.escola-fieldset legend {
	font-size: 16px;
	font-weight: 700;
	color: #1e3a5f;
	padding: 0 10px;
}

.escola-fieldset-description {
	color: #64748b;
	font-size: 13px;
	margin-top: 0;
	margin-bottom: 15px;
	font-style: italic;
}

.escola-form-row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.escola-form-field {
	flex: 1;
	min-width: 180px;
}

.escola-form-field.escola-field-full {
	flex: 1 1 100%;
}

.escola-form-field.escola-field-wide {
	flex: 2;
}

.escola-form-field.escola-field-small {
	flex: 0 0 100px;
	min-width: 100px;
}

.escola-form-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 5px;
}

.escola-checkbox-label {
	display: flex !important;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 400 !important;
	color: #6b7280;
	margin-bottom: 6px;
	cursor: pointer;
}

.escola-checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.escola-form-field input,
.escola-form-field select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	background: #f9fafb;
}

.escola-form-field input:focus,
.escola-form-field select:focus {
	outline: none;
	border-color: #2d5a8e;
	box-shadow: 0 0 0 3px rgba(45, 90, 142, 0.15);
	background: #fff;
}

.escola-field-display {
	padding: 10px 12px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	color: #1e3a5f;
	font-weight: 600;
	font-size: 15px;
}

.escola-form-actions {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-top: 25px;
}

.escola-btn-secondary {
	display: inline-block;
	padding: 14px 30px;
	background: #64748b;
	color: #fff !important;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.3s;
}

.escola-btn-secondary:hover {
	background: #475569;
	text-decoration: none;
	color: #fff !important;
}

.escola-notice-success {
	background: #dcfce7;
	border-left: 4px solid #22c55e;
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.escola-notice-success p {
	color: #166534;
	margin: 0;
	font-weight: 500;
}

.escola-notice-error {
	background: #fef2f2;
	border-left: 4px solid #ef4444;
	padding: 15px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
}

.escola-notice-error p {
	color: #991b1b;
	margin: 0;
	font-weight: 500;
}

#escola-enroll-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.escola-form-row {
		flex-direction: column;
		gap: 10px;
	}

	.escola-form-field,
	.escola-form-field.escola-field-wide,
	.escola-form-field.escola-field-small {
		flex: 1 1 100%;
		min-width: 100%;
	}

	.escola-form-actions {
		flex-direction: column;
	}

	.escola-form-actions .escola-btn {
		width: 100%;
		text-align: center;
	}
}

/* ===== Agreement Checkboxes ===== */
.escola-agreement-item {
	margin-bottom: 12px;
}

.escola-agreement-label {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	font-weight: 400 !important;
	color: #374151;
	cursor: pointer;
	line-height: 1.5;
}

.escola-agreement-label input[type="checkbox"] {
	width: auto;
	margin-top: 4px;
	flex-shrink: 0;
}

.escola-agreement-link {
	color: #2563eb;
	text-decoration: underline;
	font-weight: 600;
	cursor: pointer;
}

.escola-agreement-link:hover {
	color: #1d4ed8;
}

.escola-agreement-select {
	margin-top: 8px;
	margin-left: 26px;
}

.escola-agreement-select select {
	width: 100%;
	max-width: 400px;
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	background: #f9fafb;
	color: #374151;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.escola-agreement-select select:focus {
	outline: none;
	border-color: #2d5a8e;
	box-shadow: 0 0 0 3px rgba(45, 90, 142, 0.15);
	background: #fff;
}

/* ===== Popup / Modal ===== */
.escola-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.escola-popup {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 700px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	animation: escolaPopupIn 0.25s ease-out;
}

@keyframes escolaPopupIn {
	from { opacity: 0; transform: scale(0.95) translateY(10px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}

.escola-popup-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 25px;
	border-bottom: 1px solid #e5e7eb;
}

.escola-popup-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1e3a5f;
}

.escola-popup-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #6b7280;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
}

.escola-popup-close:hover {
	background: #f3f4f6;
	color: #111827;
}

.escola-popup-body {
	padding: 25px;
	overflow-y: auto;
	flex: 1;
	font-size: 14px;
	line-height: 1.7;
	color: #374151;
}

.escola-popup-body h1,
.escola-popup-body h2,
.escola-popup-body h3,
.escola-popup-body h4 {
	color: #1e3a5f;
	margin-top: 20px;
	margin-bottom: 10px;
}

.escola-popup-body p {
	margin-bottom: 12px;
}

.escola-popup-body ul,
.escola-popup-body ol {
	margin-left: 20px;
	margin-bottom: 12px;
}

.escola-popup-footer {
	padding: 15px 25px;
	border-top: 1px solid #e5e7eb;
	text-align: right;
}

.escola-popup-footer .escola-btn-primary {
	display: inline-block;
	padding: 10px 25px;
	background: #1e3a5f;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.escola-popup-footer .escola-btn-primary:hover {
	background: #2d5a8e;
}

@media (max-width: 768px) {
	.escola-popup {
		max-height: 90vh;
		border-radius: 12px;
	}

	.escola-popup-header {
		padding: 15px 20px;
	}

	.escola-popup-body {
		padding: 20px;
	}
}

/* Print Styles */
@media print {
	.escola-btn,
	.escola-search-form,
	.escola-filter-form {
		display: none;
	}

	.escola-container {
		max-width: 100%;
		padding: 0;
	}

	.escola-table {
		box-shadow: none;
		border: 1px solid #ddd;
	}
}
