body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #2a2a2a; /* Darker gray for better contrast */
    color: #e0e0e0; /* Light gray text */
}

h1 {
    text-align: center;
    color: #f5f5f5; /* Lighter header color */
    margin-bottom: 20px;
}

.bannerContainer {
    width: 100%;
    text-align: center;
}

.banner {
    display: block;
    max-width: 90%;
    mask-image: linear-gradient(to right, 
                                transparent, 
                                rgba(0, 0, 0, 1) 10%, 
                                rgba(0, 0, 0, 1) 90%, 
                                transparent);
    -webkit-mask-image: linear-gradient(to right, 
                                        transparent, 
                                        rgba(0, 0, 0, 1) 10%, 
                                        rgba(0, 0, 0, 1) 90%, 
                                        transparent);
    margin: 0 auto;
    max-height: 275px;
}

.update-wrapper {
    text-align: right;
	max-width:2000px;
    width: 95%;
    margin: 0 auto;
}

.update-container {
    background-color: #3a3a3a;
    border: 1px solid #555555;
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-block;
    text-align: right;
    margin-top: 20px;
    color: #f0f0f0;
    font-size: 0.9em;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.main-container {
    width: 95%;
	max-width:2000px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin: 0 auto;
}

.left-section {
    padding: 20px;
    width:40%;
    background-color: #343434; /* Darker gray for section backgrounds */
    border: 2px solid #555555;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.right-section {
	
    margin:0 auto;
	padding: 4vh 4vw;
    width:93%;
    background-color: #343434; /* Darker gray for section backgrounds */
    border: 2px solid #555555;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.tab {
	overflow: hidden;
	border-bottom: 1px solid #666;
}

.tab button {
	background-color: inherit;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 10px 40px;
	transition: 0.3s;
	font-size: 18px;
	font-weight: 600;
	color: #f0f0f0;
	border-top: 2px;
	border-left: 2px;
	border-right: 2px;
	border-bottom: 0px;
	border-style: solid;
	border-color: #666;
    border-radius: 7px 7px 0 0;
	margin-right: 20px;
}

.tab button:hover {
	background-color: #a62b2b;
}

.tab button.active {
	background-color: #a62b2b;
}

.tabcontent {
	display: none;
	padding: 10px 0;
	border-top: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #3d3d3d; /* Dark neutral background */
    margin-top: 20px;
    border: 2px solid #555555;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

table, th, td {
    border: 1px solid #666666;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #5e1a1a; /* Rich but subtle red for table header */
    color: #ffffff;
    font-size: 1.2em;
    border: 2px solid #666666;
}

tr {
	font-size:1.1em;
	font-weight:500;
}

tr:nth-child(even) {
    background-color: #404040; /* Neutral dark gray for even rows */
}

tr:nth-child(odd) {
    background-color: #523d3d; /* Muted red/brown for odd rows to avoid large red blocks */
}

tr:hover {
    background-color: #7a4b4b; /* Brighter hover state with rich red accent */
    cursor: pointer;
}

tr.completedRow:nth-child(even) {
    background-color: #2f4a2f !important; /* Dark, subtle green for even completed rows */
}

tr.completedRow:nth-child(odd) {
    background-color: #3f6d3f !important; /* Slightly lighter green for odd completed rows */
}

p.rec-id {
	font-size:2em;
	text-align:center;
	font-weight:700;
	padding-top:1.75vh;
	padding-bottom:1.75vh;
	margin-top:0.5vh;
	margin-bottom:0.5vh;
	background-color: #523d3d;
	border: 2px solid #555555;
}

#loginForm {
    width: 320px;
    margin: 0 auto;
    background-color: #343434;
    padding: 20px;
    border: 2px solid #555555;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    display: block;
}

#recipient-diff {
	font-weight:600;
	font-size:1.1em;
}

label {
    display: block;
    color: #f0f0f0;
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
    text-align: justify;
    width: 100%;
    padding: 8px;
    margin: 0 auto;
    border: 1px solid #666666;
    border-radius: 5px;
    background-color: #505050;
    color: #ffffff;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
	padding: 10px;
    background-color: #a62b2b; /* Maintain richer red for buttons */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #d13b3b; /* Brighter red for hover */
}

.error-message {
    color: #ff4d4d; /* Softer red for error messages */
    margin-top: 10px;
    text-align: center;
}

.hidden {
    display: none;
}

#loginSection.fade-in, #mainSection.fade-in {
    opacity: 1;
    pointer-events: auto;
}

#loginSection, #mainSection {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
    pointer-events: auto;
}

.statusColumn {
    text-align: center;
    font-size: 1.5rem;
}
