/* ===================================
   GLOBAL STYLES
=================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 0.95em;
	background-color: #f8f8f8;
	background-image: url('https://firebasestorage.googleapis.com/v0/b/scba-coach-s-corner.firebasestorage.app/o/2148347992%20(1).jpg?alt=media&token=aca5461c-5e98-4a44-91d0-3b2559290322');
	background-size: cover;
	background-attachment: fixed;
}

.page-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0px;
}

h1 {
	color: #fff;
	text-align: center;
	margin: 0px 0 8px 0;
	font-size: 1.6em;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	margin-top: 20px;
}

h2,
h3 {
	color: #0056b3;
	text-align: center;
	margin: 12px 0 8px 0;
}

/* ===================================
   FINAL HORIZONTAL NAVBAR (PC & MOBILE)
=================================== */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #333;
	padding: 0 20px;
	height: 50px;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.nav-brand .nav-logo {
	height: 40px;
}

.nav-links {
	display: flex;
	flex-direction: row;
	gap: 15px;
	align-items: center;
}

.nav-links a {
	color: white;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	padding: 8px 12px;
	white-space: nowrap;
	transition: all 0.2s ease;
}

/* ADMIN TOOL STYLING (Gold) */
#navAddTeamsLink,
[id^="navExport"] {
	color: #ffc107 !important;
	border: 1px solid rgba(255, 193, 7, 0.3);
	border-radius: 4px;
}

#navAddTeamsLink:hover,
[id^="navExport"]:hover {
	background-color: rgba(255, 193, 7, 0.1);
}

.logout-link {
	color: #ff4d4d !important;
}

/* RESPONSIVE: On very small phones, slightly reduce gaps */
@media (max-width: 480px) {
	.nav-links {
		gap: 5px;
	}

	.nav-links a {
		font-size: 0.8rem;
		padding: 5px 8px;
	}
}


/* ===================================
   GRID CARDS (Index Page) - UPDATED
=================================== */
.rules-grid {
	display: grid;
	/* This tells the browser: "Make columns at least 250px, but fit as many as possible" */
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px auto;

	/* THE FIX: Prevents the grid from stretching too wide on PC */
	max-width: 1000px;
	padding: 0 20px;
}

.rule-card {
	background: #fff;
	padding: 20px;
	/* Reduced from 25px */
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	border-top: 5px solid #007bff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s, box-shadow 0.2s;

	/* Ensures content stays centered and neat */
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 150px;
}

.rule-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ===================================
   SELECTION AREA (Division & Team)
=================================== */
.content-card {
	background: rgba(255, 255, 255, 0.95);
	padding: 12px 20px;
	/* Tighter vertical padding */
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin: 0 auto 15px auto;
	/* Centered with small bottom gap */

	/* The "Shrink-Wrap" logic */
	width: fit-content;
	min-width: 300px;
	/* Prevents it from being too skinny on tiny phones */

	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	/* Centers the contents inside */
}

.selection-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.selection-group label {
	font-size: 0.75em;
	font-weight: bold;
	color: #444;
	margin-bottom: 2px;
	text-transform: uppercase;
}

#divisionSelect,
#teamSelect,
#headCoachLastName	{
	width: 100%;
	min-width: 240px;
	/* Standardizes the width of the two boxes */
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	font-size: 0.95em;
	height: 40px;
}

/* DESKTOP: Put them side-by-side to stay shallow */
@media (min-width: 769px) {
	.content-card {
		flex-direction: row;
		gap: 20px;
		padding: 15px 25px;
	}
}


/* ===================================
   ULTRA-COMPACT ROSTER (Mobile First)
=================================== */
#playerEntriesContainer {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 20px;
}

.entry-card {
	background: #fff;
	padding: 6px 10px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-left: 5px solid #007bff;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

/* Hide header on mobile to fit 5 per screen */
.entry-card h3 {
	display: none;
}

.entry-grid {
	display: flex;
	flex-direction: row;
	/* Horizontal row */
	flex-grow: 1;
	gap: 6px;
	align-items: flex-end;
}

.input-wrap {
	display: flex;
	flex-direction: column;
	flex: 2;
	min-width: 0;
}

.input-wrap.jersey-number {
	flex: 0 0 55px;
	/* Fixed small width for Jersey # */
}

.input-wrap label {
	font-size: 0.6em;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 2px;
}

.entry-card input {
	width: 100%;
	height: 32px;
	padding: 4px;
	margin-bottom: 0 !important;
	font-size: 0.9em;
	border: 1px solid #ccc;
}


/* ===================================
   MOBILE NAVBAR & LAYOUT FIX
=================================== */
@media (max-width: 768px) {

	/* 1. Force the Navbar to stay horizontal and visible */
	.navbar {
		justify-content: space-between;
		/* Keeps Logo left, Links right */
		padding: 0 10px;
	}

	.nav-links {
		display: flex !important;
		/* Overrides any 'none' from old code */
		flex-direction: row !important;
		/* Side-by-side */
		position: static !important;
		/* Removes the 'absolute' dropdown logic */
		opacity: 1 !important;
		pointer-events: auto !important;
		background: transparent !important;
		gap: 8px;
	}

	.nav-links a {
		padding: 5px 8px;
		font-size: 0.8rem;
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 4px;
		width: auto;
		/* Prevents links from stretching to full width */
		text-align: left;
	}

	/* 2. Grid & Content Layout */
	.rules-grid {
		/* Show 2 cards side-by-side on mobile so they aren't huge */
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 0 10px;
	}

	.rule-card {
		padding: 15px 5px;
		min-height: 110px;
	}

	.rule-card h2 {
		font-size: 1.1em;
		/* Makes the text fit better in 2 columns */
		margin: 5px 0;
	}

	/* Lower the card priority so the menu always wins the 'stacking' war */
	.content-card,
	.page-wrapper {
		position: relative;
		z-index: 1 !important;
	}    
}


/* Ensure the bar itself is always the top layer */
.navbar {
	position: sticky !important;
	top: 0;
	z-index: 9999 !important;
}

/* ===================================
   DESKTOP ROSTER OVERRIDES
=================================== */
@media (min-width: 769px) {
	#playerEntriesContainer {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
		gap: 15px;
	}

	.entry-card {
		flex-direction: column;
		align-items: stretch;
		padding: 15px;
	}

	.entry-card h3 {
		display: block;
		/* Show "Player X" on desktop */
		font-size: 1em;
		margin-bottom: 10px;
		text-align: left;
	}

	.entry-grid {
		flex-wrap: wrap;
		/* Allows fields to wrap if needed on desktop */
	}
}

/* ===================================
   STICKY ACTION BAR (btn-row)
=================================== */
.btn-row {
	display: flex;
	gap: 10px;
	padding: 12px 15px;
	background: rgba(255, 255, 255, 0.98);
	/* Solid white so players don't overlap */
	box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
	border-top: 1px solid #ddd;

	/* This locks the bar to the bottom of the viewport */
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2000;
}

/* IMPORTANT: This prevents the last player from being stuck behind the bar */
.page-wrapper {
	padding-bottom: 90px;
}

/* Button Styling inside the row */
.btn-row button {
	flex: 1;
	height: 50px;
	/* Large touch target for thumbs */
	font-weight: bold;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-size: 1em;
	transition: background 0.2s;
}

.btn-primary {
	background-color: #28a745 !important;
	/* Success Green */
	color: white !important;
}

.btn-secondary {
	background-color: #007bff !important;
	/* Action Blue */
	color: white !important;
}

button:disabled {
	background-color: #ccc !important;
	color: #888 !important;
	cursor: not-allowed;
}

/* DESKTOP ADJUSTMENT: Reset sticky for larger screens */
@media (min-width: 769px) {
	.btn-row {
		position: static;
		/* Moves it back below the roster */
		background: transparent;
		box-shadow: none;
		border: none;
		margin-top: 30px;
		padding: 0;
		justify-content: center;
		gap: 20px;
	}

	.btn-row button {
		max-width: 200px;
		/* Don't let buttons get too wide on desktop */
	}

	.page-wrapper {
		padding-bottom: 20px;
	}
}

/* Safety fix for very small screens */
@media (max-width: 380px) {
	.rules-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   RULES PAGE LAYOUTS (Merged & Updated)
   ============================================================ */

/* 1. Main Headers */

/* 2. Grid Container (The "Pushable" Content) */
/* In C:\Coach\styles\main.css */

.sub-header {
    font-size: 1.1em;        /* Slightly larger than body text, smaller than h1 */
    font-weight: bold;       /* Make it stand out a bit */
    color: #555;             /* A slightly softer color than the main text, or matching your brand */
    text-align: center;      /* If you want it centered under your main title */
    margin-top: 10px;        /* Space above the sub-header */
    margin-bottom: 20px;     /* Space below the sub-header */
    padding: 0;              /* Ensure no default padding */
    /* Add any other styles you think are appropriate */
    /* text-transform: uppercase; */ /* Make it all caps */
    /* letter-spacing: 0.05em; */  /* Add some spacing between letters */
}

.rule-categories-grid {
	transition: margin-top 0.3s ease;
	/* Essential for Navbar Slide */
}
/* The Grid for the Main Rules Index */
.rule-categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	max-width: 1000px;
	margin: 15px auto;
	padding: 0 10px;
}

/* 3. Individual Cards */
.rule-category-card {
	background: white;
	padding: 15px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	border-top: 5px solid #007bff;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 110px;
}

.rule-category-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.rule-category-card h3 {
	margin: 5px 0;
	color: #0056b3;
	font-size: 1.05em;
}

.rule-category-card p {
	color: #666;
	font-size: 0.85em;
	line-height: 1.3;
	flex-grow: 1;
}

/* 4. Detailed Rules Content (The White Paper Look) */

/* 5. Components: Tables & Accordions */
.rules-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.rules-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
}

.rules-table td:first-child {
	font-weight: bold;
	color: #004488;
	width: 45%;
}

.acc-btn {
	background-color: #004488;
	color: white;
	cursor: pointer;
	padding: 16px;
	width: 100%;
	text-align: left;
	border: none;
	border-radius: 6px;
	margin-top: 8px;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.acc-btn:after {
	content: '\002B';
	font-size: 18px;
}

.acc-btn.active:after {
	content: "\2212";
}

.panel {
	padding: 0 18px;
	display: none;
	background: #fff;
	border-left: 4px solid #004488;
	border-bottom: 1px solid #eee;
}

/* 6. Alerts & Labels */
.warning-box {
	background: #fffdf5;
	color: #856404;
	padding: 12px;
	border-radius: 4px;
	border-left: 4px solid #ffc107;
	font-size: 0.9em;
}

.weather-alert {
	background: #e0f2fe;
	color: #0369a1;
	padding: 10px;
	border-radius: 6px;
	font-size: 1.0em;
	text-align: center;
	margin-bottom: 15px;
}

.btn-pdf {
	display: block;
	width: 100%;
	padding: 12px;
	text-align: center;
	background: #cc0000;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-weight: bold;
	margin-bottom: 20px;
}

.summary-card {
	/* This is a generic name, ensure it's unique if used outside rules pages */
	background: #fdfdfd;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 25px;
}

/* ===================================
   SLEEK VERTICAL SCHEDULE CARDS
=================================== */
#gameEntriesContainer {
	display: grid;
	align-items: center !important;
	gap: 25px !important;
	width: 100% !important;
	margin: 30px auto !important;
	padding-bottom: 120px;
	max-width: 100%;
    min-width: 0;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center; /* Center cards in the grid */
}

   /* Base Card Styling (Works for both PC & Mobile) */
#gameEntriesContainer .entry-card {
	position: relative;	
	/* Forces the 'card' look on mobile */
	max-width: 550px !important;
	/* Keeps it tight on Desktop */
	background: #ffffff !important;
	padding: 25px !important;
	border-radius: 15px !important;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
	border-top: 8px solid #0056b3 !important;
	transition: transform 0.3s ease;
	box-sizing: border-box;
	min-width: 0; 
    flex-shrink: 1;
}

#gameEntriesContainer .entry-card:hover {
	transform: translateY(-5px);
}

/* Header & Game Number Styling */
#gameEntriesContainer .entry-card h3 {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	color: #0056b3 !important;
	font-size: 1.3em !important;
	margin: 0 0 20px 0 !important;
	border-bottom: 2px solid #f0f0f0;
	padding-bottom: 10px;
}

#gameEntriesContainer .game-number::before {
	content: "#";
	font-size: 0.8em;
	opacity: 0.5;
}

/* Input Grid: 2-columns on PC, 1-column on Mobile */
#gameEntriesContainer .entry-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 15px !important;
}

/* ===================================
   MOBILE OVERRIDE (Under 600px)
=================================== */
@media (max-width: 600px) {
        #gameEntriesContainer {
                padding: 0 10px !important;
                gap: 20px !important;
				width: 100% !important;     /* Ensure it takes full available width */
        max-width: 100% !important;  /* Prevent it from exceeding 100% */
        min-width: 0 !important;     /* CRITICAL: Allow it to shrink */
        overflow-x: hidden !important; /* Safety net: Hide any child overflow */
		grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
        justify-content: space-evenly; /* Evenly distribute cards */
        }

        #gameEntriesContainer .entry-card {
        padding: 20px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
        width: 100% !important;      /* Force card to take 100% of its parent's content area */
        max-width: 100% !important;  /* Prevent it from exceeding 100% */
        min-width: 0 !important;     /* CRITICAL: Allow cards to shrink */
        flex-shrink: 1 !important;   /* CRITICAL: Allow cards to shrink if in a flex container */
        overflow-x: hidden !important; /* Safety net: Hide any child overflow within the card */
        }

        #gameEntriesContainer .entry-grid {
                display: flex !important;
                flex-direction: column !important; /* Stacks inputs vertically */
                gap: 12px !important;
        min-width: 0 !important; /* NEW: Ensure the flex container itself can shrink */
        }

        #gameEntriesContainer .input-wrap {
                width: 100% !important; /* Takes full width of parent (entry-grid) */
        min-width: 0 !important; /* CRITICAL: Allow input-wrap to shrink */
        flex-shrink: 1 !important; /* CRITICAL: Allow input-wrap to shrink if it's a flex item */
        }
    
    /* CRITICAL: Target the actual input and select elements */
    #gameEntriesContainer .input-wrap input,
    #gameEntriesContainer .input-wrap select {
        width: 100% !important;     /* Ensures they take full width of their parent */        
		min-width: 0 !important;    /* CRITICAL: Allows inputs/selects to shrink below browser defaults */
        /* These next two lines help with long text that might still cause overflow */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important; /* Ensure text wraps */
    }

        #gameEntriesContainer .entry-card h3 {
                font-size: 1.1em !important;
        }
}

/* ===================================
   IMPORT PAGE STYLING
=================================== */
.import-card {
	max-width: 500px !important;
	margin: 40px auto !important;
	text-align: center;
	padding: 30px !important;
}

.instructions {
	text-align: left;
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 0.9em;
	line-height: 1.5;
	border-left: 4px solid #ffc107;
}

#teamFileInput {
	margin: 15px 0;
	padding: 10px;
	border: 1px dashed #ccc;
	width: 100%;
	border-radius: 5px;
}

#message {
	margin-top: 20px;
	font-weight: bold;
}

@media (max-width: 600px) {
	.form-grid {
		grid-template-columns: 1fr !important;
		/* Stack inputs on mobile */
	}
}

.form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	color: #444;
}

.form-group input {
	width: 100%;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid #ccc;
	box-sizing: border-box;
	/* Ensures padding doesn't break width */
}
.page-wrapper { max-width: 800px; margin: 20px auto; padding: 8px; }
        .form-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .form-container label { display: block; margin-top: 15px; font-weight: bold; }
        .form-container input, .form-container select, .form-container textarea { 
            width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
        }
        .submit-btn { 
            margin-top: 20px; padding: 12px 20px; background: #0056b3; color: white; border: none; border-radius: 4px; cursor: pointer; 
        }
        .submit-btn:hover { background: #004494; }
		.form-instruction {
        color: #555;
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
        padding: 10px 15px;
        background-color: #eef6ff; /* Soft blue background */
        border-left: 4px solid #0056b3; /* Matching accent color */
        border-radius: 4px;
    }
	.log-container { max-width: 1100px; margin: 40px auto; padding: 20px; }
        .log-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .log-table th { background: #0056b3; color: white; padding: 15px; text-align: left; }
        .log-table td { padding: 15px; border-bottom: 1px solid #eee; }
        .type-pill { background: #e9ecef; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; }
		.log-container { max-width: 1100px; margin: 40px auto; padding: 20px; }
        .log-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .log-table th { background: #0056b3; color: white; padding: 15px; text-align: left; }
        .log-table td { padding: 15px; border-bottom: 1px solid #eee; }
		/* Status Badge Styles */
.status-pill {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}
.btn-approve {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    margin-right: 5px;
    transition: background 0.2s;
}

.btn-deny {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    transition: background 0.2s;
}

.btn-approve:hover { background-color: #218838; }
.btn-deny:hover { background-color: #c82333; }
.log-table td:nth-child(4) { /* This targets the 4th column: Request Details */
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}.decision-card { text-align: center; padding: 40px; border-radius: 12px; background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .spinner { border: 4px solid #f3f3f3; border-top: 4px solid #0056b3; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 20px auto; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
		
		
.page-wrapper { max-width: 800px; margin: 20px auto; padding: 0px; }
        .form-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .form-container label { display: block; margin-top: 15px; font-weight: bold; }
        .form-container input, .form-container select, .form-container textarea { 
            width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box;
        }
        .form-instruction {
            color: #555; font-size: 14px; line-height: 1.6; margin-bottom: 25px; padding: 15px;
            background-color: #eef6ff; border-left: 4px solid #0056b3; border-radius: 4px;
        }
        .submit-btn { margin-top: 20px; padding: 12px 20px; background: #0056b3; color: white; border: none; border-radius: 4px; cursor: pointer; }
        .submit-btn:hover { background: #004494; }
        .payment-box { margin-bottom: 15px; padding: 15px; background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; }
        .payment-box a { display: block; margin-bottom: 8px; color: #0056b3; font-weight: bold; text-decoration: none; }		
				        
        /* Dashboard Controls */
        .log-controls { 
            background: #f8f9fa; 
            padding: 20px; 
            border-radius: 8px; 
            margin-bottom: 20px; 
            border: 1px solid #dee2e6;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        /* Table Styling */
        .admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .admin-table th { background: #0056b3; color: white; padding: 15px; text-align: left; }
        .admin-table td { padding: 15px; border-bottom: 1px solid #eee; font-size: 0.9rem; }
        .admin-table tr:hover { background-color: #f1f4f8; }

        /* Status Pill Styles (Rule Exceptions) */
        .status-pill {
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            display: inline-block;
        }

        /* Button Styles */
        .btn-approve { background-color: #28a745; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 0.75rem; font-weight: bold; margin-right: 5px; }
        .btn-deny { background-color: #dc3545; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 0.75rem; font-weight: bold; }
        .btn-approve:hover { background-color: #218838; }
        .btn-deny:hover { background-color: #c82333; }

        /* Truncate long request details */
        .truncate {
            max-width: 250px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .type-pill {
            background: #e9ecef;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            text-transform: uppercase;
            font-weight: bold;
            color: #495057;
        }
		/* --- Notification Message Styling (for exportMessage, saveMessage, etc.) --- */
.notification-box {
    padding: 12px 20px;
    margin-top: 15px; /* Adjust as needed */
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    border: 10px solid transparent; /* Default transparent border */
    transition: all 0.3s ease;
}

.notification-box.success {
    background-color: #d4edda; /* Light green background */
    color: #FFFFFF;             /* Dark green text */
    border-color: #c3e6cb;      /* Green border */
}

.notification-box.warning {
    background-color: #fff3cd; /* Light yellow background */
    color: #856404;             /* Dark yellow text */
    border-color: #ffeeba;      /* Yellow border */
}

.notification-box.error {
    background-color: #f8d7da; /* Light red background */
    color: #721c24;             /* Dark red text */
    border-color: #f5c6cb;      /* Red border */
}
#saveMessage {
    font-size: 1.2em !important; /* Make the text bigger */
    color: white !important;    /* Set the text color to white */
    /* You might want to add a background color or text-shadow for better visibility
       if it's on a busy background image */
    /* background-color: rgba(0, 128, 0, 0.7); /* Example: semi-transparent green background */
    /* padding: 8px 15px; */
    /* border-radius: 5px; */
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.5); */
}
