<style>
.split-container {
    background-color: white;
    border-radius: 1px;
    display: flex;
    flex-direction: column; /* Stack header and content vertically */
    padding: 1px;
    margin: 1rem 0;
    flex-wrap: nowrap; /* Prevent wrapping */
    align-items: start; /* Align items at the top */
    min-width: fit-content; /* Ensure container is wide enough */	
	/* width: 100%; */
}

.split-header {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 1rem;
}

.split-header-left {
    flex: 1;  /* Using flex instead of width */
	padding: 0;
	position: relative;
}

.split-header-right {
    flex: 1;  /* Using flex instead of width */
}


.split-header-left, .split-header-right {
  padding: 1px;
  box-sizing: border-box; /* Ensures padding is included in the width */
    
}

/* <img> tag */
.split-icon img {
    object-fit: cover;  /* This ensures the image covers the area nicely */
	display: block; 
	width: 70%;
	margin: 0; 
    padding: 0; 
}

.split-icon {
    margin: 0; 
    padding: 0; 
}


.split-title {
    font-size: 1.5rem;
    margin: 0;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /*max-height: 120px;*/
    overflow: auto;
}

.split-content > * {
    min-height: 0;
    max-height: 100%;
    overflow: auto;
}

.split-form {
    padding-right: 2rem;
	font-size: 0.8rem;
}

.split-help {
    /*background-color: #f8fafc; */
    padding: 0.5rem;  /* Reduced padding */
    border-radius: 1px;
    text-align: left;
    vertical-align: top;
}

.split-help p {
    margin: 0;  /* Removes default paragraph margin */
    margin-bottom: 0.5rem;  /* Small space between title and list */
}

.split-help ol {
    margin: 0;  /* Removes default list margin */
    padding-left: 1.5rem;  /* Just enough space for numbers */
}

.split-help li {
    margin-bottom: 0.25rem;  /* Small space between list items */
}

.page-loading-msg {
	animation: fadeOutAndHide;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
	color: white;
	padding: 15px 25px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);

    top: 20px; /* Adjust as needed */
    left: 10px;
    transform: translateX(-50%); /* Center horizontally */
    z-index: 1000; /* Ensures it appears above other elements */
    width: auto; /* Or set a specific width */

	transform: translateY(0);
	text-shadow: 0 2px 4px rgba(0,0,0,0.1);	
    overflow: hidden;   /* Keep progress bar inside rounded corners */	
	position: absolute; /* absolute is relative to paremt, fixed = relative to viewport */	
	
    max-height: 50px;
    overflow-y: auto; /* Adds scrollbar if content exceeds max-height */
    box-sizing: border-box; /* Ensures padding is included in the height calculation */	
}
.page-loading-msg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: rgba(255,255,255,0.7);
    animation: progress 2s linear forwards;	
}	
@keyframes progress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}
@keyframes fadeOutAndHide {
   0% {
       opacity: 0;
       transform: translateY(-20px);
   }
   10% {
       opacity: 1;
       transform: translateY(0);
   }
   80% {
       opacity: 1;
       transform: translateY(0);
   }
   100% {
       opacity: 0;
       transform: translateY(-10px);
   }
}

@media (max-width: 768px) {
    .split-content {
        grid-template-columns: 1fr;
    }
    .split-form {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 400px;
    padding: 10px;
}

.search-form div {
    display: flex;
    align-items: center;
}

.search-form label {
    min-width: 100px;
    font-weight: 500;
	display: flex;  
    gap: 8px;	
}
	
.search-form input[type="text"] {
    flex: none;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
	width: 200px;
}

.search-form input[type="text"]:focus {
    outline: none;
    border-color: #9ecaed;
    box-shadow: 0 0 5px rgba(158,202,237,0.5), inset 0 1px 2px rgba(0,0,0,0.05);
}

.search-form button[type="submit"] {
    align-self: flex-start;
    background: linear-gradient(to bottom, #f8f8f8, #e8ffe8);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-form button[type="submit"]:hover {
    transform: translateY(-1px);
}

.search-form span {
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #666;
	flex: none;
	width: 200px;
	display: inline-block; 
}

/* Main caption container */
.table-caption-container {
    display: flex;
    width: 100%;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    align-items: center; /* Vertically center all content */
}

/* All divs */
.table-caption-left, 
.table-caption-middle, 
.table-caption-right {
    flex: 1;
}

/* Individual alignment */
.table-caption-left { text-align: left; }
.table-caption-middle { text-align: center; }
.table-caption-right { text-align: right; }

.table-caption-right {
    color: black;
	padding-right: 3 px;
}

/* Export button styling */
.export-csv-button {
    background: linear-gradient(to bottom, #f8f8f8, #e8ffe8);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

.export-csv-button:hover {
    transform: translateY(-1px);
}

</style>

