/* ============================================================================
   CASHED - Modern Main Stylesheet
   Oath Peptides Premium Aesthetic - Mobile First
   ============================================================================ */

:root {
	/* Oath Peptides Brand Colors */
	--oath-black: #000000;
	--oath-charcoal: #1a1a1a;
	--oath-gray-900: #2d2d2d;
	--oath-dark-gray: #2d2d2d;
	--oath-gray-800: #424242;
	--oath-gray-700: #545454;
	--oath-gray-600: #777777;
	--oath-gray-500: #9e9e9e;
	--oath-gray-400: #bdbdbd;
	--oath-gray-300: #e0e0e0;
	--oath-gray-200: #eeeeee;
	--oath-gray-100: #f5f5f5;
	--oath-white: #ffffff;

	/* Semantic Colors */
	--success: #10b981;
	--success-light: #d1fae5;
	--success-dark: #065f46;
	--danger: #ef4444;
	--danger-light: #fee2e2;
	--danger-dark: #991b1b;
	--warning: #f59e0b;
	--warning-light: #fef3c7;
	--warning-dark: #92400e;

	/* Color Aliases (for toast components) */
	--success-green: #10b981;
	--error-red: #ef4444;
	--warning-orange: #f59e0b;

	/* Accent Blue - Steel Blue */
	--accent-blue: #5b7c99;        /* Steel blue - sophisticated, industrial */
	--accent-blue-dark: #475f7a;   /* Darker steel for hover states */
	--accent-blue-light: #a8c0db;  /* Light steel for backgrounds */

	/* Info alias (for compatibility) */
	--info: #5b7c99;
	--info-light: #a8c0db;
	--info-dark: #475f7a;

	/* Typography - Roboto Font Family */
	--font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-weight-light: 300;
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 700;

	/* Font Sizes - Mobile First */
	--text-xs: 0.75rem;     /* 12px */
	--text-sm: 0.875rem;    /* 14px */
	--text-base: 1rem;      /* 16px */
	--text-lg: 1.125rem;    /* 18px */
	--text-xl: 1.25rem;     /* 20px */
	--text-2xl: 1.5rem;     /* 24px */
	--text-3xl: 1.875rem;   /* 30px */
	--text-4xl: 2.25rem;    /* 36px */

	/* Spacing Scale */
	--space-1: 0.25rem;    /* 4px */
	--space-2: 0.5rem;     /* 8px */
	--space-3: 0.75rem;    /* 12px */
	--space-4: 1rem;       /* 16px */
	--space-5: 1.25rem;    /* 20px */
	--space-6: 1.5rem;     /* 24px */
	--space-8: 2rem;       /* 32px */
	--space-10: 2.5rem;    /* 40px */
	--space-12: 3rem;      /* 48px */
	--space-16: 4rem;      /* 64px */

	/* Border Radius */
	--radius-sm: 0.25rem;  /* 4px */
	--radius-md: 0.5rem;   /* 8px */
	--radius-lg: 0.75rem;  /* 12px */
	--radius-xl: 1rem;     /* 16px */
	--radius-full: 9999px;

	/* Shadows - Subtle & Elegant */
	--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.03);
	--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
	--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.07);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
	--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);

	/* Transitions */
	--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

	/* Z-Index Scale */
	--z-dropdown: 1000;
	--z-sticky: 1020;
	--z-fixed: 1030;
	--z-modal-backdrop: 1040;
	--z-modal: 1050;
	--z-popover: 1060;
	--z-tooltip: 1070;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	font-family: var(--font-primary);
	font-size: var(--text-base);
	font-weight: var(--font-weight-regular);
	line-height: 1.6;
	color: var(--oath-gray-700);
	background: var(--oath-gray-100);
	min-height: 100vh;
	overflow-x: hidden;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--font-weight-medium);
	color: var(--oath-gray-900);
	line-height: 1.2;
	margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

@media (min-width: 768px) {
	h1 { font-size: var(--text-4xl); }
	h2 { font-size: var(--text-3xl); }
	h3 { font-size: var(--text-2xl); }
}

p {
	margin-bottom: var(--space-4);
}

a {
	color: var(--oath-black);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--oath-gray-700);
}

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

.text-xs { font-size: var(--text-xs) !important; }
.text-sm { font-size: var(--text-sm) !important; }
.text-base { font-size: var(--text-base) !important; }
.text-lg { font-size: var(--text-lg) !important; }
.text-xl { font-size: var(--text-xl) !important; }

.font-light { font-weight: var(--font-weight-light) !important; }
.font-regular { font-weight: var(--font-weight-regular) !important; }
.font-medium { font-weight: var(--font-weight-medium) !important; }
.font-bold { font-weight: var(--font-weight-bold) !important; }

.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--oath-gray-600) !important; }

.bg-danger { background-color: var(--danger) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-info { background-color: var(--info) !important; color: var(--oath-white) !important; }

.fw-bold { font-weight: var(--font-weight-bold) !important; }
.fw-medium { font-weight: var(--font-weight-medium) !important; }

.hidden { display: none !important; }

/* ============================================================================
   BUTTONS - Modern & Beautiful
   ============================================================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-6);
	font-family: var(--font-primary);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
	line-height: 1;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none;
	white-space: nowrap;
	user-select: none;
}

.btn:focus-visible {
	outline: 2px solid var(--oath-black);
	outline-offset: 2px;
}

.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* Primary Button - Black */
.btn-primary {
	background: var(--oath-black);
	color: var(--oath-white);
	border-color: var(--oath-black);
}

.btn-primary:hover:not(:disabled) {
	background: var(--oath-gray-900);
	border-color: var(--oath-gray-900);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* Secondary Button */
.btn-secondary {
	background: var(--oath-gray-200);
	color: var(--oath-gray-900);
	border-color: var(--oath-gray-300);
}

.btn-secondary:hover:not(:disabled) {
	background: var(--oath-gray-300);
	border-color: var(--oath-gray-400);
}

/* Outline Primary - Black */
.btn-outline-primary {
	background: var(--oath-white);
	color: var(--oath-black);
	border-color: var(--oath-black);
}

.btn-outline-primary:hover:not(:disabled) {
	background: var(--oath-black);
	color: var(--oath-white);
	border-color: var(--oath-black);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* Outline Secondary */
.btn-outline-secondary {
	background: var(--oath-white);
	color: var(--oath-gray-700);
	border-color: var(--oath-gray-300);
}

.btn-outline-secondary:hover:not(:disabled) {
	background: var(--oath-gray-100);
	border-color: var(--oath-gray-400);
	color: var(--oath-gray-900);
}

/* Success Button */
.btn-success {
	background: var(--success);
	color: var(--oath-white);
	border-color: var(--success);
}

.btn-success:hover:not(:disabled) {
	background: var(--success-dark);
	border-color: var(--success-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* Danger Button */
.btn-danger {
	background: var(--danger);
	color: var(--oath-white);
	border-color: var(--danger);
}

.btn-danger:hover:not(:disabled) {
	background: var(--danger-dark);
	border-color: var(--danger-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* Outline Danger */
.btn-outline-danger {
	background: var(--oath-white);
	color: var(--danger);
	border-color: var(--danger);
}

.btn-outline-danger:hover:not(:disabled) {
	background: var(--danger);
	color: var(--oath-white);
}

/* Info Button - Steel Blue */
.btn-info {
	background: var(--accent-blue);
	color: var(--oath-white);
	border-color: var(--accent-blue);
}

.btn-info:hover:not(:disabled) {
	background: var(--accent-blue-dark);
	border-color: var(--accent-blue-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

/* Outline Info */
.btn-outline-info {
	background: var(--oath-white);
	color: var(--accent-blue);
	border-color: var(--accent-blue);
}

.btn-outline-info:hover:not(:disabled) {
	background: var(--accent-blue);
	color: var(--oath-white);
}

/* Button Sizes */
.btn-sm {
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-xs);
}

.btn-lg {
	padding: var(--space-4) var(--space-8);
	font-size: var(--text-base);
}

/* Button Group */
.btn-group {
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}

@media (max-width: 640px) {
	.btn-group {
		width: 100%;
	}

	.btn-group .btn {
		flex: 1;
		min-width: 0;
	}
}

/* ============================================================================
   BADGES - Clean & Modern
   ============================================================================ */

.badge {
	display: inline-flex;
	align-items: center;
	padding: var(--space-1) var(--space-3);
	font-size: var(--text-xs);
	font-weight: var(--font-weight-medium);
	line-height: 1;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.badge-pending {
	background: var(--warning-light);
	color: var(--warning-dark);
}

.badge-partial {
	background: var(--info-light);
	color: var(--info-dark);
}

.badge-paid {
	background: var(--success-light);
	color: var(--success-dark);
}

.badge-forgiven {
	background: var(--oath-gray-200);
	color: var(--oath-gray-700);
}

.badge-order {
	background: var(--info-light);
	color: var(--info-dark);
}

.badge-account {
	background: var(--oath-gray-900);
	color: var(--oath-white);
}

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

/* ============================================================================
   FORMS - Beautiful & Accessible
   ============================================================================ */

.form-label {
	display: block;
	margin-bottom: var(--space-2);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-medium);
	color: var(--oath-gray-900);
}

.form-control,
.form-select {
	display: block;
	width: 100%;
	padding: var(--space-3) var(--space-4);
	font-family: var(--font-primary);
	font-size: var(--text-sm);
	font-weight: var(--font-weight-regular);
	line-height: 1.5;
	color: var(--oath-gray-900);
	background: var(--oath-white);
	border: 1px solid var(--oath-gray-300);
	border-radius: var(--radius-md);
	transition: all var(--transition-base);
	appearance: none;
}

.form-control:focus,
.form-select:focus {
	outline: none;
	border-color: var(--oath-black);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
	color: var(--oath-gray-400);
}

textarea.form-control {
	resize: vertical;
	min-height: 80px;
}

.form-select {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right var(--space-3) center;
	background-size: 16px 12px;
	padding-right: var(--space-10);
}

/* ============================================================================
   CARDS - Elevated & Modern
   ============================================================================ */

.card {
	background: var(--oath-white);
	border: 1px solid var(--oath-gray-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: all var(--transition-base);
}

.card:hover {
	box-shadow: var(--shadow-md);
}

.card-header {
	padding: var(--space-4) var(--space-6);
	background: var(--oath-gray-50);
	border-bottom: 1px solid var(--oath-gray-200);
	font-weight: var(--font-weight-medium);
	color: var(--oath-gray-900);
}

.card-body {
	padding: var(--space-6);
}

.card-footer {
	padding: var(--space-4) var(--space-6);
	background: var(--oath-gray-50);
	border-top: 1px solid var(--oath-gray-200);
}

/* ============================================================================
   STAT CARDS
   ============================================================================ */

.stat-card {
	background: var(--oath-white);
	border: 1px solid var(--oath-gray-200);
	border-radius: var(--radius-lg);
	padding: var(--space-6);
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
}

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

.stat-label {
	display: block;
	font-size: var(--text-xs);
	font-weight: var(--font-weight-medium);
	color: var(--oath-gray-600);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: var(--space-2);
}

.stat-value {
	display: block;
	font-size: var(--text-3xl);
	font-weight: var(--font-weight-bold);
	color: var(--oath-gray-900);
	line-height: 1;
}

@media (max-width: 640px) {
	.stat-value {
		font-size: var(--text-2xl);
	}
}

/* ============================================================================
   TABLES - Clean & Readable
   ============================================================================ */

.table {
	width: 100%;
	margin-bottom: 0;
	color: var(--oath-gray-700);
	font-size: var(--text-sm);
	border-collapse: collapse;
}

.table thead th {
	padding: var(--space-3) var(--space-4);
	background: var(--oath-gray-100);
	border-bottom: 2px solid var(--oath-gray-300);
	color: var(--oath-gray-900);
	font-size: var(--text-xs);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
	white-space: nowrap;
}

.table tbody td {
	padding: var(--space-4);
	border-bottom: 1px solid var(--oath-gray-200);
	vertical-align: middle;
}

.table tbody tr {
	transition: background-color var(--transition-fast);
}

.table-hover tbody tr:hover {
	background: var(--oath-gray-50);
	cursor: pointer;
}

.table-sm th,
.table-sm td {
	padding: var(--space-2) var(--space-3);
}

/* ============================================================================
   MODALS - Beautiful Overlays
   ============================================================================ */

.modal-content {
	border: none;
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-2xl);
	overflow: hidden;
}

.modal-header {
	padding: var(--space-6);
	background: var(--oath-white);
	border-bottom: 1px solid var(--oath-gray-200);
}

.modal-title {
	font-size: var(--text-xl);
	font-weight: var(--font-weight-medium);
	color: var(--oath-gray-900);
	margin: 0;
}

.modal-body {
	padding: var(--space-6);
}

.modal-footer {
	padding: var(--space-4) var(--space-6);
	background: var(--oath-gray-50);
	border-top: 1px solid var(--oath-gray-200);
	display: flex;
	gap: var(--space-3);
	justify-content: flex-end;
}

@media (max-width: 640px) {
	.modal-footer {
		flex-direction: column-reverse;
	}

	.modal-footer .btn {
		width: 100%;
	}
}

.btn-close {
	opacity: 0.5;
	transition: opacity var(--transition-fast);
}

.btn-close:hover {
	opacity: 1;
}

.btn-close-white {
	filter: invert(1);
}

/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */

.toast-container {
	position: fixed;
	top: var(--space-4);
	right: var(--space-4);
	z-index: var(--z-tooltip);
	max-width: 400px;
	pointer-events: none;
}

@media (max-width: 640px) {
	.toast-container {
		left: var(--space-4);
		right: var(--space-4);
		max-width: none;
	}
}

.toast {
	background: var(--oath-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-xl);
	padding: var(--space-4);
	margin-bottom: var(--space-3);
	border-left: 4px solid var(--oath-black);
	pointer-events: auto;
	animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.success {
	border-left-color: var(--success);
}

.toast.error {
	border-left-color: var(--danger);
}

.toast.warning {
	border-left-color: var(--warning);
}

@keyframes slideInRight {
	from {
		transform: translateX(120%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* ============================================================================
   LOADING OVERLAY
   ============================================================================ */

.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: var(--z-modal);
}

.spinner {
	border: 4px solid var(--oath-gray-300);
	border-top: 4px solid var(--oath-black);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	animation: spin 0.8s linear infinite;
}

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

/* ============================================================================
   DATATABLES CUSTOMIZATION
   ============================================================================ */

.dataTables_wrapper {
	padding: 0;
}

.dataTables_filter {
	margin-bottom: var(--space-4);
}

.dataTables_filter label {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	font-size: var(--text-sm);
	color: var(--oath-gray-700);
}

.dataTables_filter input {
	padding: var(--space-2) var(--space-4);
	border: 1px solid var(--oath-gray-300);
	border-radius: var(--radius-md);
	font-size: var(--text-sm);
	transition: all var(--transition-base);
}

.dataTables_filter input:focus {
	outline: none;
	border-color: var(--oath-black);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.dataTables_info {
	font-size: var(--text-sm);
	color: var(--oath-gray-600);
	padding-top: var(--space-4);
}

.dataTables_paginate {
	padding-top: var(--space-4);
}

.paginate_button {
	padding: var(--space-2) var(--space-3);
	margin: 0 var(--space-1);
	border: 1px solid var(--oath-gray-300);
	border-radius: var(--radius-md);
	background: var(--oath-white);
	color: var(--oath-gray-700) !important;
	font-size: var(--text-sm);
	transition: all var(--transition-fast);
	cursor: pointer;
}

.paginate_button:hover {
	background: var(--oath-gray-100) !important;
	border-color: var(--oath-gray-400) !important;
	color: var(--oath-gray-900) !important;
}

.paginate_button.current {
	background: var(--oath-black) !important;
	border-color: var(--oath-black) !important;
	color: var(--oath-white) !important;
}

.paginate_button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* Override Bootstrap pagination styles */
.page-link {
	color: var(--oath-gray-500) !important;
	background-color: var(--oath-white) !important;
	border: 1px solid var(--oath-gray-300) !important;
	border-radius: var(--radius-md) !important;
	padding: var(--space-2) var(--space-3) !important;
	margin: 0 var(--space-1) !important;
	transition: all var(--transition-fast) !important;
}

.page-link:hover {
	color: var(--oath-gray-700) !important;
	background-color: var(--oath-gray-50) !important;
	border-color: var(--oath-gray-400) !important;
}

.page-link:focus {
	box-shadow: none !important;
	outline: none !important;
}

/* Active page - same style as others, just slightly darker text */
.page-item.active .page-link {
	color: var(--oath-gray-700) !important;
	background-color: var(--oath-white) !important;
	border-color: var(--oath-gray-300) !important;
	font-weight: var(--font-weight-medium) !important;
}

.page-item.disabled .page-link {
	color: var(--oath-gray-400) !important;
	cursor: not-allowed;
	pointer-events: none;
}

/* ============================================================================
   SHARED HEADER - Universal across all pages
   ============================================================================ */

.app-header {
	background: linear-gradient(to bottom, var(--oath-white), var(--oath-gray-50));
	border-bottom: 1px solid var(--oath-gray-200);
	padding: var(--space-6) 0;
	margin-bottom: var(--space-8);
	box-shadow: var(--shadow-xs);
}

.app-header .header-content {
	display: flex;
	justify-content: center;
	align-items: center;
}

.app-header .header-branding {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-3);
}

.app-header .oath-logo {
	height: 60px;
	width: auto;
	transition: transform var(--transition-base);
}

.app-header .oath-logo:hover {
	transform: scale(1.02);
}

.app-header .subtitle {
	font-size: var(--text-base);
	color: var(--oath-gray-700);
	margin: 0;
	font-weight: var(--font-weight-medium);
	letter-spacing: 0.5px;
	text-align: center;
}

@media (max-width: 768px) {
	.app-header {
		padding: var(--space-4) 0;
		margin-bottom: var(--space-6);
	}

	.app-header .oath-logo {
		height: 50px;
	}

	.app-header .subtitle {
		font-size: var(--text-sm);
	}
}

/* ============================================================================
   RESPONSIVE UTILITIES
   ============================================================================ */

@media (max-width: 640px) {
	.container-fluid {
		padding-left: var(--space-4);
		padding-right: var(--space-4);
	}
}

/* Mobile-specific table responsiveness */
@media (max-width: 768px) {
	.table {
		font-size: var(--text-xs);
	}

	.table thead th,
	.table tbody td {
		padding: var(--space-2) var(--space-3);
	}
}

/* ============================================================================
   Error/Confirmation Modal
   ============================================================================ */

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	animation: fadeIn 0.2s ease-in;
}

.modal-dialog {
	background: white;
	border-radius: 8px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease-out;
}

.modal-dialog.error {
	border-top: 4px solid var(--danger-color, #dc3545);
}

.modal-dialog.warning {
	border-top: 4px solid var(--warning-color, #ffc107);
}

.modal-dialog.success {
	border-top: 4px solid var(--success-color, #28a745);
}

.modal-dialog.info {
	border-top: 4px solid var(--accent-blue);
}

/* VIP Management Modal - Extra Wide for Table */
.vip-modal-wide {
	max-width: 95% !important;
}

@media (min-width: 1400px) {
	.vip-modal-wide {
		max-width: 1320px !important;
	}
}

.modal-header {
	padding: 20px;
	border-bottom: 1px solid #dee2e6;
}

.modal-header h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
}

.modal-body {
	padding: 20px;
	line-height: 1.6;
}

.modal-body .error-details {
	font-size: 0.875rem;
	color: #6c757d;
	font-family: 'Courier New', monospace;
	background: #f8f9fa;
	padding: 10px;
	border-radius: 4px;
	margin: 10px 0;
	word-break: break-word;
}

.modal-body p {
	margin: 10px 0;
}

.modal-body p:first-child {
	margin-top: 0;
}

.modal-body p:last-child {
	margin-bottom: 0;
}

.modal-footer {
	padding: 15px 20px;
	border-top: 1px solid #dee2e6;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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