* {
    box-sizing: border-box; /* Includes padding and border in the element's total width and height. */
}
:root {
    --brand-blue: #2B2AA0;
    --brand-red: #9E2121;
    --bg-gray: #F3F4F6;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
}
/* This rule applies to the entire body of the webpage. */
.main-content-container {
    width:100%;
    display: flex;
    height:100%;
    flex-direction: column;
    align-items: center;
    padding: 5px 5px;
    background-color: white;/*#F9FAFB;*/
    overflow-y: auto;
    scrollbar-gutter: stable;
    position: relative;
    overflow-x: hidden;
}
/* Styles for the main content area below the header and marquee */
.content-container {
    display: flex; /* Makes the login/signup/etc. and logo/news sections sit side-by-side. */
    height:100em;
    /*max-height: calc(100% - 30px); Sets minimum height to fill the screen (100vh) minus the header's height (60px). */
    box-sizing: border-box;
    padding-bottom: 20px; /* Adds space at the bottom to prevent the fixed footer from overlapping content. */
    padding-top:5px;
    overflow:visible;
}
.clock-error-message {
    color: #9E2121; /* Red color */
    font-weight: bold;
    text-align: center;
    height: 20px; 
    margin-bottom: 15px;
    font-size: 14px;
}
/* Wrapper for the password input and toggle button */
.password-wrapper {
    position: relative; /* Allows child elements to be positioned relative to this wrapper. */
}

/* Styles for the password show/hide button */
.password-toggle {
    position: absolute !important; /* Positions the button absolutely within its wrapper. */
    right: 15px; /* Pushes the button 15px from the right. */
    top: 50%; /* Positions the button 50% from the top. */
    transform: translateY(-50%); /* Moves the button up by half of its height, for perfect vertical centering. */
    cursor: pointer; /* Changes the mouse cursor to a pointer when hovering over the button. */
    font-size: 14px;
    color: #9E2121;
    font-weight: bold;
    user-select: none; /* Prevents the user from selecting the text. */
}
.password-toggle:hover {
    color: #2B2AA0;
}

.updates-bar-left,
.updates-bar-right {
    font-weight: bold;
    color: #000000;
}

.updates-bar span {
    white-space: nowrap;
}

.updates-bar .update-label {
    font-weight: bold;
    color: #9E2121;
    text-transform: uppercase;
    margin-right: 5px;
}

.updates-bar .update-value {
    font-weight: bold;
    color: #000000;
}
/* This is a helper class used to hide elements. */
.hidden {
    display: none !important; /* Completely removes the element from the page layout. !important ensures this rule always wins. */
}
.hide
{
    visibility: hidden !important;
}
.checkbox-group-container {
    margin-bottom: 10px;
}

.checkbox-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2B2AA0;
}

.checkbox-options {
    display: flex;
    flex-wrap: wrap; /* Allows checkboxes to wrap to the next line if needed. */
    gap: 15px; /* Adds a gap between each checkbox and its label. */
}

.checkbox-options label {
    font-weight: normal;
    font-size: 14px;
    color: #000000;
}
.footer {
    font-family: 'Helvetica', Arial, sans-serif;
    text-align: center;
    padding: 0;
    font-size: 12px;
    color: #000000;
    background-color: #FFFFFF;
    
    /* These lines make the footer stick to the bottom */
    position: fixed; /* Positions the element relative to the browser window, so it stays fixed. */
    bottom: 0; /* Aligns the element to the bottom of the window. */
    left: 0; /* Aligns the element to the left. */
    width: 90%; /* Makes the element span the full width of the window. */
    z-index:2000000;
}

.footer-content {
	background-color: transparent;
    vertical-align:central;
    text-align:center;
}
.catchme {
	display: none;
}
/* --- MODAL (POPUP) STYLES --- */
/* Class for the medium-sized calculator modal. */
.medium-modal {
    max-width: 700px; /* Sets a max-width of 700px. */
}

/* Max-width for the comparison card. */
.large-modal {
    max-width: 900px; /* A larger max-width of 900px. */
}

/* Style for the extra large comparison results modal. */
.extra-large-modal {
    max-width: 950px; /* Sets a max-width of 950px. */
}

/* A smaller variant for the confirmation modal. */
.small-modal {
    max-width: 450px; /* A small max-width of 450px. */
}

/* The main container for the modal's content. */
.modal-content {
    background: #fff; /* White background for the modal. */
    border-radius: 8px; /* 8px rounded corners. */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Adds a shadow. */
    width: 90%; /* Default width is 90% of the screen width. */
    display: flex; /* Uses flexbox for layout. */
    flex-direction: column; /* Stacks header, body, and footer vertically. */
    max-height: 95vh; /* Sets max-height to 95% of the viewport height. */
}

/* The header section of the modal. */
.modal-header {
    display: flex; /* Uses CSS Grid for layout. */
    align-items: center; /* Aligns items vertically in the center. */
    justify-content:center;
    border-bottom: 1px solid #E5E7EB; /* Adds a 1px solid border at the bottom. */
    padding: 9px 18px; /* Sets 9px padding top/bottom, 18px left/right. */
}

/* The dark, semi-transparent background for the modal. */
.modal-overlay {
    position: fixed; /* Fixes the position relative to the viewport, covering the whole screen. */
    top: 0; /* Aligns to the top edge. */
    left: 0; /* Aligns to the left edge. */
    width: 100%; /* Covers the entire width of the screen. */
    height: 100%; /* Covers the entire height of the screen. */
    background-color:rgba(0, 0, 0, 0.6);/* Sets a black background with 60% opacity. */
    display: flex; /*Uses flexbox to center the modal content. */
    justify-content: center; /* Horizontally centers the content. */
    align-items: center; /* Vertically centers the content. */
    z-index: 2000; /* A very high z-index to ensure it's on top of everything else. */
    /* === ADD THIS TO FIX CONFIRMATION OVERLAP === */
    /* Make sure the confirmation modal (z-index 3000) appears above this one */
}
/* Styles for the left-aligned items in the modal header. */
.modal-header-left {
    justify-self: start; /* Aligns this item to the start (left) of the grid cell. */
    padding:10px 10px;
}

/* Styles for the center-aligned items in the modal header. */
.modal-header-center {
    text-align: center; /* Centers the text inside. */
    padding: 10px 10px; /* Adds 15px space on left/right so text doesn't touch buttons. */
    align-items:center;
}

/* Styles for the main title (h2) in the modal header. */
.modal-header-center h2 {
    margin: 0; /* Removes default margin. */
    font-size: 16px; /* Sets font size to 16px. */
    color: #9E2121; /* Sets text color to red. */
}

/* Styles for the paragraph (p) in the modal header. */
.modal-header-center p {
    margin: 4px 0; /* Sets 4px margin top/bottom, 0 left/right. */
    font-size: 14px; /* Sets font size to 14px. */
    font-weight: bold; /* Makes text bold. */
    color: #374151; /* Sets text color to dark gray. */
}

/* Styles for the span in the modal header. */
.modal-header-center span {
    font-size: 12px; /* Sets font size to 12px. */
    font-weight: bold; /* Makes text bold. */
    color: #6B7280; /* Sets text color to medium gray. */
}

/* Styles for the right-aligned items in the modal header. */
.modal-header-right {
    display: flex; /* Uses flexbox for layout. */
    justify-content:flex-end;
    justify-self: end; /* Aligns this item to the end (right) of the grid cell. */
    align-items: flex-start; /* Aligns items vertically in the center. */
    align-content:flex-end;
    padding:5px;
    gap: 15px; /* Adds 15px space between items (e.g., Hide button and Close button). */
}

/* This was an old class, it's not used, but this rule hides it if it was. */
.modal-header .modal-title-hidden { 
    display: none; /* Hides any element with this class. */
}

/* The 'X' close button. */
.close-button {
    background: none; /* No background. */
    border: none; /* No border. */
    font-size: 28px; /* Large font size for the '×' character. */
    cursor: pointer; /* Pointer cursor. */
    line-height: 1; /* Adjusts line height. */
    color: #888; /* Gray color. */
    padding: 0; /* No padding. */
}

/* The main body of the modal. */
.modal-body {
    overflow-y: auto; /* Adds a vertical scrollbar ONLY if the content overflows. */
    padding: 10px 15px; /* Sets 12px padding top/bottom, 18px left/right. */
}

/* Styles for paragraphs inside the modal body. */
.modal-body p {
    font-size: 16px; /* Sets font size. */
    line-height: 1.5; /* Sets line height for readability. */
}

/* The footer section of the modal. */
.modal-footer {
    display: flex; /* Uses flexbox for layout. */
    justify-content: flex-end; /* Aligns buttons to the right by default. */
    gap: 10px; /* Adds 10px space between buttons. */
    border-top: 1px solid #E5E7EB; /* Adds a 1px solid border at the top. */
    padding: 9px 11px; /* Sets 9px padding top/bottom, 11px left/right. */
    margin-top: 0; /* Removes any default top margin. */
}

/* Style to center the button in the card footer. */
.centered-footer {
    justify-content: center; /* Overrides the default right-alignment, centers the button. */
}
.footer-grid
{
    display:grid;
    flex:1;
    grid-template-columns: 1fr;
    justify-content:flex-start;
}
.footer-row
{
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    color:#9E2121;
    font-size:12px;
}
.overlay-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100002 !important;
	width: 100%;
	height: 100%;
	overflow: hidden;
	outline: 0;
	background-color: gray;
	opacity: .5
}
.progress-modal-content
{
    display:flex;
    text-align:center;
    align-items:center;
    justify-content:center;
    background-color:white;
    opacity:0.2;
    height:100%;
    width:100%;
}
/* General styles for all buttons. */
.btn {
    padding: 10px 25px; /* Adds 10px padding top/bottom, 25px left/right. */
    border: none; /* Removes the default border. */
    border-radius: 6px; /* Rounds the corners of the buttons. */
    font-weight: bold; /* Makes the font bold. */
    font-size: 14px; /* Sets the font size. */
    cursor: pointer; /* Changes the cursor to a pointer. */
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s; /* Adds a smooth transition for hover effects. */
}

/* Styles for smaller buttons, like 'Add Row'. */
.btn-small {
    padding: 8px 15px; /* Reduces padding for a smaller button. */
    font-size: 14px; /* Sets the font size. */
}

/* Styles for the primary button ('Search'). */
.btn-primary {
    background-color: #2B2AA0; /* Sets the background color to the primary blue. */
    color: #FFFFFF; /* Sets the text color to white. */
}

/* Hover effect for the primary button. */
.btn-primary:hover {
    background-color: #242285; /* Darkens the background color slightly on hover. */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow on hover. */
    transform: translateY(-2px); /* Moves the button up slightly. */
}

/* Styles for the secondary button ('Print'). */
.btn-secondary {
    background-color: #E5E7EB; /* Sets a light gray background color. */
    color: #374151; /* Sets the text color to dark gray. */
}

/* Hover effect for the secondary button. */
.btn-secondary:not([disabled]):hover {
    background-color: #D1D5DB; /* Darkens the background color slightly on hover. */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow on hover. */
    transform: translateY(-2px); /* Moves the button up slightly. */
}

/* Styles for the 'Logout' button. */
.logout-button {
    display: inline-block; /* Allows padding, background, etc. to be applied. */
    text-decoration: none; /* Remove underline. */
    font-weight: bold; /* Keep it bold. */
    color: #111827; /* Dark gray text color. */
    background-color: #E5E7EB; /* Light gray background. */
    font-size: 12px; /* Make it slightly smaller. */
    padding: 5px 12px; /* Small padding inside the button. */
    border-radius: 5px; /* Rounded corners. */
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; /* Smooth transitions for hover effects. */
    line-height: 1; /* Ensures text fits well vertically. */
    cursor:pointer;
}

/* Hover effect for the 'Logout' button. */
.logout-button:hover {
    background-color: #D1D5DB; /* Slightly darker gray background. */
    color: #9E2121; /* Darker red text. */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover. */
}

body {
    font-family: 'Helvetica', Arial, sans-serif; /* Sets the default font for the entire page. */
    margin: 0; /* Removes the default margin that browsers add around the body. */
    padding: 0; /* Removes the default padding that browsers might add. */
    color: #000000; /* Sets the default text color for the page to black. */
    height: 100vh; /* Sets the body to be exactly the full height of the browser window (vh = viewport height). */
    display: flex; /* Sets the body to be a flex container, for a flexible layout. */
    flex-direction: column; /* Stacks the flex items (header, main, footer) vertically. */
    overflow: hidden; /* Hides any content that overflows the body, preventing scrolling on the body itself. */
    background-color: #F9FAFB; /* Sets a light gray background color for the entire page. */
}
/* This styles the blue navigation bar at the very top of the page. */
form
{
    display:flex;
    height:98vh;
    flex-direction:column;
}
.auth-logo-container
{
    display:none;
}
.top-bar {
    display: flex; /* Tells the browser to use flexbox for layout inside this bar. */
    justify-content: space-between; /* Pushes child elements apart, to the left and right edges. */
    align-items: center; /* Aligns child elements vertically in the middle. */
    padding: 8px 5%; /* Sets 8px of space on top/bottom, and 5% of the screen width on left/right. */
    background-color: #2B2AA0; /* Sets the background color of the bar to a specific shade of blue. */
    color: #FFFFFF; /* Sets the default text color for items within this bar to white. */
}

/* Styles the container for the centered navigation buttons (Home, Services, etc.). */
.nav-center {
    display: flex; /* Uses flexbox to arrange the navigation buttons in a row. */
    gap: 30px; /* Sets a 30px space between each navigation button. */
    flex-grow: 1; /* Allows this container to grow and take up available space in the middle. */
    justify-content: center; /* Centers the navigation buttons within this container. */
    max-width: 60%; /* Prevents the navigation from becoming too wide on large screens. */
    margin: 0 auto; /* A trick to help center the container itself within the top bar. */
}

/* Styles the container for the right-aligned navigation items (like the 'Support' button). */
.nav-right {
    position: absolute; /* Positions this container relative to the .top-bar. */
    right: 5%; /* Places the container 5% from the right edge of the top bar. */
}

/* General styles for all navigation buttons/links in the top bar. */
.nav-button {
    font-weight: bold; /* Sets the font to be bold. */
    color: #FFFFFF; /* Sets the text color to white. */
    text-decoration: none; /* Removes the default underline from links. */
    padding: 6px 12px; /* Sets 6px space top/bottom and 12px left/right inside the button. */
    border-radius: 5px; /* Rounds the corners of the button. */
    transition: background-color 0.3s, color 0.3s; /* Smoothly animates color changes over 0.3 seconds. */
    font-size: 15px; /* Sets the font size to 15 pixels. */
    background: none; /* Ensures no background color is applied by default (especially for <button> elements). */
    border: none; /* Ensures no border is applied by default (especially for <button> elements). */
    cursor: pointer; /* Shows a clickable hand cursor when hovering. */
    display: inline-flex; /* Helps to align the text and icon next to each other. */
    align-items: center; /* Aligns the text and icon vertically in the center. */
    gap: 6px; /* Adds a 6px space between the text (e.g., "Support") and its icon. */
}

/* Styles for the top navigation buttons when the mouse hovers over them. */
.nav-button:hover {
    background-color: transparent; /* Makes the background transparent on hover. */
    color: #000000; /* Changes the text color to black on hover. */
}
.selected
{
    background-color:transparent !important;
    color:#050af2 !important;
}
/* Specific styling for the 'Support' button to make it stand out. */
.support-button {
    background-color: #9E2121; /* Sets a unique red background color for the support button. */
}

/* Hover effect specific to the 'Support' button. */
.support-button:hover {
    background-color: #FFFFFF; /* Changes the background to white on hover. */
    color: #9E2121; /* Changes the text color to red on hover. */
}
/* This styles the container for the top bar 'Support' dropdown. */
.dropdown-main-top {
    position: relative; /* Sets the positioning context, allowing the dropdown menu to be positioned inside it. */
    padding:5px;
}

/* This styles the chevron icon inside the 'Support' button. */
.dropdown-toggle-top i {
    font-size: 10px; /* Makes the icon small. */
    transition: transform 0.3s ease; /* Adds a smooth rotation animation for when it's toggled (if we add that later). */
}

/* This styles the top dropdown menu to open from the right. */
.dropdown-main-top .dropdown-menu-main {
    left: auto; /* Cancels any default 'left: 0' alignment. */
    right: 0; /* Aligns the menu to the right edge of the button. */
}

/* --- MAIN HEADING BAR STYLES --- */

/* Styles for the main menu bar that contains the logo and primary navigation. */
.main-heading-bar {
    display: flex; /* Uses flexbox for layout. */
    justify-content: space-between; /* Distributes space between the left, center, and right items. */
    align-items: center; /* Aligns items vertically in the center. */
    padding: 8px 5%; /* Sets 8px padding top/bottom, and 5% padding left/right. */
    background-color: #F9FAFB; /* Sets the light gray background color. */
    position: relative; /* Allows positioning of child elements (like dropdowns) relative to this bar. */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow below the bar to give it depth. */
    z-index: 50; /* Ensures this bar appears above other content if they overlap. */
}

/* Styles for the left and right containers within the main heading bar. */
.main-bar-left,
.main-bar-right {
    flex-grow: 0; /* Prevents these containers from growing. */
    flex-shrink: 0; /* Prevents these containers from shrinking. */
    width: 150px; /* Sets a fixed width for these containers to maintain layout consistency. */
}

/* Aligns the content of the left container (logo) to the left. */
.main-bar-left {
    text-align: left; /* Aligns text and inline elements to the left. */
}

/* Aligns the content of the right container (logout) to the right. */
.main-bar-right {
    text-align: right; /* Aligns text and inline elements to the right. */
}

/* Styles for the link that wraps the logo. */
.logo-link {
    display: flex; /* Uses flexbox to arrange the image and text inside. */
    flex-direction: column; /* Stacks the logo image and text vertically. */
    align-items: center; /* Centers the image and text horizontally. */
    text-decoration: none; /* Removes the default link underline. */
    color: #2B2AA0; /* Sets the text color to the primary blue. */
    font-weight: bold; /* Makes the text bold. */
    transition: color 0.3s ease; /* Adds a smooth transition for color changes on hover. */
}

/* Hover effect for the logo link. */
.logo-link:hover {
    color: #000000; /* Changes the text color to black on hover. */
}

/* Styles for the logo image itself. */
.logo-link img {
    height: 30px; /* Sets the height of the logo image to 30 pixels. */
    margin-bottom: 4px; /* Adds a 4px space below the image, before the text. */
    transition: transform 0.3s ease; /* Adds a smooth transition for the transform property (used in hover). */
}

/* Hover effect for the logo image. */
.logo-link:hover img {
    transform: scale(1.1); /* Slightly enlarges the logo on hover. */
}

/* Styles for the "Launch DocFA" text below the logo. */
.logo-link span {
    font-size: 11px; /* Sets a smaller font size for this text. */
}

/* Styles the central container for the main navigation buttons. */
.main-bar-center {
    display: flex; /* Uses flexbox for layout. */
    justify-content: center; /* Centers the buttons horizontally. */
    align-items: center; /* Centers the buttons vertically. */
    flex-grow: 1; /* Allows this container to take up the remaining space in the middle. */
    gap: 25px; /* Sets a 25px space between each navigation item. */
}

/* Styles for the individual buttons/links in the main navigation bar. */
.main-bar-button {
    text-decoration: none; /* Removes the default link underline. */
    color: #000000; /* Sets the text color to black. */
    font-weight: bold; /* Makes the text bold. */
    font-size: 12px; /* Sets the font size to 12 pixels. */
    padding: 4px 8px; /* Sets 4px space top/bottom and 8px left/right inside the button. */
    transition: color 0.3s ease, transform 0.2s ease; /* Adds smooth transitions for color and transform changes. */
    white-space: nowrap; /* Prevents the text (e.g., "Label Printing") from wrapping to a new line. */
    background: none; /* Ensures no background color is applied by default. */
    border: none; /* Ensures no border is applied by default. */
    cursor: pointer; /* Shows a clickable hand cursor when hovering. */
    display: inline-flex; /* Helps to align the text and icon next to each other. */
    align-items: center; /* Aligns the text and icon vertically in the center. */
    gap: 6px; /* Adds a 6px space between the text and its icon. */
}
.main-bar-button[disabled]
{
    color:#6B7280;
}
/* Hover effect for the main navigation buttons. */
.main-bar-button:not([disabled]):hover {
    color: #2B2AA0; /* Changes the text color to the primary blue on hover. */
    transform: translateY(-2px); /* Moves the button up 2 pixels on hover for a subtle lifting effect. */
}

/* Styles the chevron icon in the main nav dropdown buttons. */
.main-bar-button .fa-chevron-down {
    font-size: 10px; /* Makes the icon smaller. */
}

/* Styles the container for dropdown menus in the main bar. */
.dropdown-main {
    position: relative; /* Sets the positioning context for the dropdown menu inside it. */
}

/* Styles for the dropdown menu that appears when a toggle is clicked. */
.dropdown-menu-main {
    position: absolute; /* Positions the menu absolutely, relative to its parent (.dropdown-main). */
    top: 100%; /* Places the menu right below the toggle button. */
    left: 0; /* Aligns the left edge of the menu with the left edge of its parent. */
    background-color: #fff; /* Sets the background color of the menu to white. */
    border: 1px solid #ccc; /* Adds a light gray border around the menu. */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Adds a shadow to make the menu appear layered. */
    padding: 10px 0; /* Adds 10px padding top/bottom, 0 padding left/right. */
    z-index: 100; /* Ensures the menu appears on top of other content. */
    min-width: 150px; /* Sets a minimum width for the menu. */
}

/* Styles for the links inside the main dropdown menus. */
.dropdown-menu-main a {
    display: block; /* Makes the entire area of the link clickable, not just the text. */
    padding: 10px 15px; /* Adds padding inside each link. */
    text-decoration: none; /* Removes the default link underline. */
    color: #000000; /* Sets the text color to black. */
    transition: background-color 0.2s; /* Adds a smooth transition for background color changes. */
    font-size: 14px; /* Sets the font size for the links. */
}

/* Hover effect for the links inside the main dropdown menus. */
.dropdown-menu-main a:hover {
    background-color: #f0f0f0; /* Changes the background color on hover to give feedback. */
}

.updates-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 2%;
    background-color: #F3F4F6;
    color: #000000;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0; /* Keeps bar fixed height */
}

/* --- Main Content Area --- */
/* Styles for the main content container */

/* Styles for the footer at the bottom of the page. */
.homepage-footer {
    position:fixed;
    display: block; /* Uses flexbox for layout. */
    bottom:0;
    justify-content: space-between; /* Distributes space between items. */
    text-align:center;
    width:100%;
    align-items: center; /* Aligns items vertically in the center. */
    background-color: #F9FAFB; /* Sets the light gray background color. */
    color: #000000; /* Sets the text color to black. */
    padding: 3px 5%; /* Sets 3px padding top/bottom, 5% padding left/right. */
    font-size: 12px; /* Sets a smaller font size for the footer text. */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Adds a shadow above the footer to separate it. */
    z-index: 40; /* Set z-index to keep it layered correctly. */
}

/* Styles the container for the centered text in the footer. */
.footer-center {
    text-align: center; /* Centers the text inside this container. */
    flex: 1; /* Allows this container to grow and fill the available space, ensuring true centering. */
    padding:0;
}

/* Styles for any div inside the footer. */
.homepage-footer div {
    white-space: nowrap; /* Prevents the copyright text from wrapping to a new line. */
}

/* Styles for the back button, positioned in the main content area */
.back-button {
    display: flex;
    position:relative;
    float:left;
    max-width:80px;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: #2B2AA0;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 25px;
    border:1px solid black;
    border-radius: 5px;
    transition: color 0.3s ease, background-color 0.3s ease;
}
/* Hover effect for the new back button */
.back-button:hover {
    color: #FFFFFF;
    background-color: #2B2AA0;
}



/* Styles for the left half of the login page (the form part) */
.login-panel {
    flex: 1; /* Allows this panel to take up half of the available horizontal space. */
    display: flex;
    justify-content: center; /* Centers the login box horizontally. */
    align-items: center; /* Centers the login box vertically. */
    background-color: #FFFFFF; /* Sets the background to white. */
}

/* Styles for the right half of the login page (news + logo) */
.logo-panel {
    flex: 1; /* Allows this panel to take up the other half of the space. */
    display: flex;
    flex-direction: column; /* Stacks the news and logo sections vertically. */
    background-color: #FFFFFF;
}

/* Styles for the news box's wrapper, which centers the box */
.news-box-wrapper {
    flex: 3; /* Takes up 1 out of 4 parts of the vertical space (1/4). */
    display: flex;
    justify-content: center; /* Centers the news box horizontally. */
    align-items: center; /* Centers the news box vertically. */
    padding: 20px 20px; /* Adds vertical padding. */
    width:100%;
}

/* Styles for the news box itself */
.news-box {
    width: 90%; /* Sets the width of the box to 90% of its container. */
    min-height:350px;
    max-height: 350px; /* Sets the height of the box. */
    background-color: #FFFFFF; /* Sets the background to white. */
    border: 2px solid #9E2121; /* Adds a solid red border. */
    padding:5px;
    overflow:hidden;
}

/* Styles for the logo's wrapper */
.logo-wrapper {
    flex: 3; /* Takes up 3 out of 4 parts of the vertical space (3/4). */
    display: flex;
    justify-content: center; /* Centers the logo horizontally. */
    align-items: center; /* Centers the logo vertically. */
}

/* General styling for all form boxes (Login, Signup, Contact, Forgot) */
.login-box,
.signup-box,
.forgot-box {
    text-align:left;
    width: 100%; /* Sets the width of the form box. */
    max-width: 400px; /* Limits the maximum width for larger screens. */
    padding: 40px; /* Adds padding inside the box. */
    background-color: #F8F8F8; /* Sets the background to a light gray. */
    border-radius: 10px; /* Rounds the corners. */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow. */
}
.forgot-box {
    padding-top:20px;
    padding-left:20px;
    max-width: 400px; /* Limits the maximum width for larger screens. */
}
/* Specific width for the signup form */
.signup-box {
    padding-top: 30px;
    padding-left: 30px;
    max-width: 600px; /* Makes the sign-up form wider for more fields. */
}
.auth-footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 13px;
    font-weight: bold;
}
.auth-link-btn {
    background: none;
    border: none;
    color: var(--brand-blue);
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    padding: 0;
}
/* Styles for all headings inside the form boxes */
h2 {
    font-size:20px;
    text-align: center; /* Centers the heading text. */
    font-weight: bold; /* Makes the font bold. */
    color: #2B2AA0; /* Sets the heading color to blue. */
    margin-bottom: 25px; /* Adds space below the heading. */
}

/* Styles for groups of input fields */
.input-group2 {
    margin-bottom: 5px; /* Adds space between input groups. */
}

.input-group2 label {
    display: block; /* Makes the label a block-level element, so it appears on its own line. */
    margin-bottom: 5px; /* Adds space below the label. */
    font-weight: bold; /* Makes the label text bold. */
}

/* Styles for all input and textarea fields */
.input-group2 input,
.input-group2 textarea {
    width: 100%; /* Makes the input fields take up 100% of the parent container's width. */
    padding: 6px; /* Adds padding inside the fields. */
    border: 1px solid #ddd; /* Adds a thin, light gray border. */
    border-radius: 5px; /* Rounds the corners of the fields. */
    box-sizing: border-box; /* Ensures padding and border don't increase the total width. */
    font-size: 16px; /* Sets the font size. */
}

/* Styles for checkbox groups */
.checkbox-group {
    display: flex; /* Arranges the elements in a row. */
    align-items: center; /* Vertically aligns the checkbox and label. */
    margin-bottom: 25px;
}

.checkbox-group input {
    margin-right: 10px; /* Adds space between the checkbox and its label. */
}

/* Styles for the "Terms and Conditions" link */
.terms-link {
    color: #9E2121;
    font-weight: bold;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline; /* Adds an underline on hover. */
}

/* Styles for all submit buttons */
.login-button {
    width: 100%;
    padding: 5px;
    background-color: #9E2121;
    color: #FFFFFF;
    border: none; /* Removes the border. */
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #b33939; /* A slightly darker red for the hover effect. */
}

/* Styles for the "Forgot Password" and "New User" links */
.links {
    display: flex;
    justify-content: space-between; /* Pushes the links to opposite ends of the container. */
    margin-top: 20px;
}

.links a {
    color: #2B2AA0;
    text-decoration: none;
    font-weight: bold;
}

.links a:hover {
    text-decoration: underline;
}
.track-link
{
    color: #2B2AA0;
    font-style:italic;
    font-size:14px;
    text-decoration:none;
    padding:0,15px;
    margin-right:20px;
}
.track-link a:hover
{
    text-decoration:underline;
}
/* Styles for the company logo image */
.company-logo {
    display: block;
    max-width: 80%; /* Limits the maximum width to 80% of its container. */
    max-height: 80%; /* Limits the maximum height to 80% of its container. */
    width: auto; /* Allows the width to be determined by the image's aspect ratio. */
    height: auto; /* Allows the height to be determined by the image's aspect ratio. */
    object-fit: contain; /* Ensures the entire image is visible, scaling it down if needed. */
    border-radius: 0 !important; /* Forces the border to be square, overriding any other rules. */
    box-shadow: none !important; /* Removes any shadows, overriding other rules. */
}

/* Styles for the signup, contact, and forgot password panels */
.signup-panel,
.forgot-panel {
    display: flex;
    flex:1;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.contact-panel{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
    margin-top:10px;
    box-sizing: border-box;
    min-width:900px;
}
.contact-box{
    align-items:flex-start;
    text-align:left;
    width: 80%; /* Sets the width of the form box. */
    max-width: 600px; /* Limits the maximum width for larger screens. */
    padding: 5px; /* Adds padding inside the box. */
    background-color: #F8F8F8; /* Sets the background to a light gray. */
    border-radius: 10px; /* Rounds the corners. */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow. */
}
.captcha-group
{
    display:flex;
}
.medium-box{
    align-items:flex-start;
    text-align:left;
    width: 80%; /* Sets the width of the form box. */
    max-width: 800px; /* Limits the maximum width for larger screens. */
    max-height:100%;
    padding: 5px; /* Adds padding inside the box. */
    background-color: #F8F8F8; /* Sets the background to a light gray. */
    border-radius: 10px; /* Rounds the corners. */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow. */
}
/* Styles for the container of the checkbox groups */

/* Styles for the fixed copyright notice at the bottom of the page */
.copyright {
    font-family: 'Helvetica', Arial, sans-serif;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    color: #000000;
    background-color: #FFFFFF;
    
    /* These lines make the footer stick to the bottom */
    position: fixed; /* Positions the element relative to the browser window, so it stays fixed. */
    bottom: 0; /* Aligns the element to the bottom of the window. */
    left: 0; /* Aligns the element to the left. */
    width: 90%; /* Makes the element span the full width of the window. */
}

/* --- Marquee Banner Styles --- */
.marquee-container {
    background-color: #FFFFFF; /* Sets the background to white. */
    width: 100%; /* Makes the marquee banner span the full width. */
    overflow: hidden; /* Hides content that moves outside of the container. */
    padding: 10px 0; /* Adds vertical padding. */
    white-space: nowrap; /* Prevents the text from wrapping to a new line. */
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block; /* Allows the element to be treated as a block for movement, but still inline with text flow. */
    animation: marquee-scroll 30s linear infinite; /* Applies the marquee-scroll animation. It takes 30 seconds to complete, runs at a constant speed (linear), and repeats forever (infinite). */
}

.marquee-content a {
    color: #2B2AA0; /* Sets the link color to blue. */
    text-decoration: none;
    font-weight: bold;
    margin-right: 50px; /* Adds space between each link. */
}

/* --- Marquee Animation --- */
@keyframes marquee-scroll {
    0% { /* The starting point of the animation. */
        transform: translateX(100%); /* Pushes the element 100% of its width to the right, so it starts off-screen. */
    }
    100% { /* The ending point of the animation. */
        transform: translateX(-100%); /* Pushes the element 100% of its width to the left, so it ends off-screen. */
    }
}

.homepage-content-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    padding: 30px 5%;
    background-color: #F9FAFB;
    height:70vh;
}

.content-left,
.content-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.content-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 80%;
    height: auto;
    display: block;
}

.welcome-heading {
    font-size: 24px;
    font-weight: bold;
    color: #2B2AA0;
    margin-bottom: 5px;
}

.user-info {
    font-size: 16px;
    color: #000000;
    margin-top: 0;
}

.updates-heading {
    font-size: 24px;
    font-weight: bold;
    color: #9E2121;
    margin-bottom: 10px;
}

.updates-text {
    font-size: 14px;
    line-height: 1;
    color: #000000;
    text-align:left !important;
}
.terms-bar {
text-align: center;
padding: 10px 0;
background-color: #F9FAFB;
}

.terms-link-homepage {
font-size: 14px;
color: #2B2AA0 !important;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease;
cursor:pointer;
}

.terms-link-homepage:hover {
color: #9E2121 !important;
text-decoration: underline;
}

/* Container for the main content block below the menu */
.alsearch-main-content-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding-top: 20px; /* Reduced top padding for compactness */
    margin-bottom: 20px;
}

/* Search heading positioned in the center */
.alsearch-main-page-heading {
    font-size: 32px;
    font-weight: bold;
    color: #2B2AA0;
    margin: 0 0 20px 0; /* Reduced bottom margin */
    text-align: center;
}

/* Container for the two search boxes with a fixed gap */
.alsearch-search-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Reduced bottom margin */
    width: 100%;
}

/* Styles for the individual search box wrapper */
.alsearch-search-box-wrapper {
    position: relative;
    width: 250px;
    min-width: 150px;
}

/* Styles for the inner search box container */
.alsearch-search-box-container {
    position: relative;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
}
.alsearch-search-box-container:after
{
    content:'\1F783';
    cursor:pointer;
}
/* Styles for the search input fields */
.alsearch-search-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    color: #374151;
}

/* Focus effect for the search input fields */
.alsearch-search-input:focus {
    outline: none;
}

/* Styles for the dropdown icon inside the search input */
.alsearch-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    pointer-events: none;
    font-size: 12px;
}

/* Styles for the dropdown menu below the search inputs */
.alsearch-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #D1D5DB;
    border-top: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 5;
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    max-height:300px;
    overflow-y:scroll;
}
{
    content:'&lt;';
}
/* Styles for the links inside the dropdown menu */
.alsearch-search-dropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    text-align:left;
    color: #000000;
    transition: background-color 0.2s;
    font-size: 14px;
}

/* Hover effect for search dropdown links */
.alsearch-search-dropdown a:hover {
    background-color: #f0f0f0;
}

/* The main content card for buttons and table */
.alsearch-result-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height:350px;
    max-height:100%;
}

/* Container for the buttons at the top of the card */
.alsearch-result-buttons-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Styles for the buttons inside the card */
.alsearch-result-button {
    background-color: #E2E8F0;
    color: #2B2AA0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for result buttons */
.alsearch-result-button:hover {
    background-color: #BEE3F8;
}

/* Styles for the active (selected) button */
.alsearch-result-button.active {
    background-color: #2B2AA0;
    color: #FFFFFF;
}

/* The new container for the horizontal info links, always visible */
.alsearch-info-link-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 15px;
    position: relative;
}

/* Styles for the centered info text and links */
.alsearch-info-text {
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Special styling for the dynamic airline name */
.alsearch-info-text.red {
    color: #9E2121;
}

.alsearch-info-link {
    font-size: 14px;
    color: #2B2AA0;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
    white-space: nowrap;
}

.alsearch-info-link:hover {
    text-decoration: underline;
}

/* The area where the table content will be loaded */
.alsearch-result-content-area {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-style: normal;
    text-align: center;
    padding: 0;
}

/* Styles for the new content box */
.alsearch-content-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    color: #000000;
    text-align: left;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Styles for the heading inside the content box */
.alsearch-content-heading {
    font-size: 24px;
    font-weight: bold;
    color: #2B2AA0;
    margin: 0;
    text-align: left;
    width: 100%;
}

/* Styles for the disclaimer text in the flight schedule section */
.alsearch-disclaimer-text {
    font-size: 16px;
    color: #6B7280;
    font-style: normal;
    margin: 0 0 20px 0;
    text-align: left;
}

/* Styles for the table container */
.alsearch-table-container {
    width: 100%;
    overflow:auto;
    max-height:350px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

/* Base styles for the table */
.alsearch-table{
    width: 100%;
    border-collapse: collapse;
    background-color: #FFFFFF;
    font-size: 14px;
    text-align: left;
    table-layout: auto;
    border-spacing: 0;
}

/* Styles for table headers */
.alsearch-table th{
    background-color: #2B2AA0;
    color: #FFFFFF;
    padding: 12px 10px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border: 1px solid #FFFFFF;
    white-space: normal;
    word-wrap: break-word;
}
    .alsearch-table th a{
        background-color: #2B2AA0;
        color: #FFFFFF;
    }
/* Styles for table rows */
.alsearch-table td{
    padding: 12px 10px;
    border: 1px solid #E5E7EB;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
    font-style: normal;
}

/* Zebra-striping for table rows */
.alsearch-table tbody tr:nth-child(even){
    background-color: #F9FAFB;
}

/* Styles for the list in Additional Remarks */
.alsearch-content-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-width: 600px;
    text-align: left;
}

.alsearch-content-box ul li {
    padding: 5px 0;
    font-size: 14px;
    color: #000000;
}
.main-page-heading {
    font-size: 32px;
    font-weight: bold;
    color: #2B2AA0;
    margin: 0 0 20px 0;
    text-align: center;
}

.search-controls-single {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.search-box-wrapper-single {
    position: relative;
    width: 300px;
}
.left-column,
.right-column {
    flex: 1;
    padding: 0 20px;
    box-sizing: border-box;
}

.left-column {
    border-right: 1px solid #E2E8F0;
}
.content-heading {
    font-size: 24px;
    font-weight: bold;
    color: #2B2AA0;
    margin-bottom: 10px;
    text-align: center;
}
.two-column-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 100%;
    min-height: 450px;
    display: flex;
    justify-content: space-between;
}
.flag-placeholder {
    background-color: #E2E8F0;
    border: 1px solid #4B5563;
    margin: 20px auto;
}
.country-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.country-info p {
    font-size: 16px;
    line-height: 1.5;
    margin: 5px 0;
    text-align: left;
}

.placeholder-text-card {
    font-size: 16px;
    color: #A0AEC0;
    font-style: italic;
    text-align: center;
    margin-top: 50px;
}
.destination-search-box-container {
    position: relative;
    border:1px solid #D1D5DB;
    border-radius:8px;
    width: 100%;
    margin-bottom: 10px;
}

.destination-search-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-size: 14px;
    color: #374151;
    box-sizing: border-box;
}

.destination-search-input:focus {
    outline: none;
    border-color: #2B2AA0;
    box-shadow: 0 0 5px rgba(43, 42, 160, 0.5);
}

.destination-list-container {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 10px;
    background-color: #FFFFFF;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.destination-list
{
    text-align:left;
}
.destination-list-container .destination-list a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #000000;
    transition: background-color 0.2s;
    font-size: 14px;
    border-radius: 5px;
}
.destination-list-container .destination-list a:hover {
    background-color: #f0f0f0;
}

/* Styles for destination info */
.destination-info-box {
    text-align: left;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-top: 20px;
}
.destination-info-box p {
    font-size: 16px;
    line-height: 1.5;
    margin: 5px 0;
    text-align: left;
}

.placeholder-text-list-info {
    font-size: 16px;
    color: #A0AEC0;
    font-style: italic;
    text-align: center;
    margin-top: 20px;
}
.exrate-info-bar-in-card {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center;
    align-items: center; /* Center horizontally */
    width: 100%;
    margin-bottom: 30px; /* Space before the table */
    padding-bottom: 0; /* Remove redundant bottom padding */
    border-bottom: none; /* Remove redundant border */
    text-align: center; /* Ensure text alignment for children */
}

.exrate-wef {
    font-size: 20px; /* Increased font size for visibility */
    color: #000000;
    font-weight: bold; /* Make the whole line bold */
    margin-bottom: 15px; /* Space between the text and the button */
}

.exrate-label {
    color: #9E2121; /* Red color for the W.E.F. label */
    margin-right: 5px;
}

.exrate-date {
    font-weight: bold;
    color: #000000; /* Black color for the date */
}

.exrate-download-button {
    background-color: #2B2AA0;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exrate-download-button:hover {
    background-color: #1a1a7c;
}
.exrate-table th:nth-child(1) { width: 30%; }
.exrate-table th:nth-child(2) { width: 15%; }
.exrate-table th:nth-child(3) { width: 10%; }
.exrate-table th:nth-child(4) { width: 22.5%; }
.exrate-table th:nth-child(5) { width: 22.5%; }

.converter-block {
    max-width: 750px; /* Increased width slightly for more spacious feel */
}

.converter-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px; /* Increased internal padding for more space */
    width: 100%;
    box-sizing: border-box;
}

.conversion-form {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Increased main vertical spacing between groups */
}

/* Conversion Type Selector */
.type-selector {
    display:flex;
    width: 100%; /* Constrain width of the select box itself */
    align-self: center; /* Center the select box horizontally */
    justify-content:center;
    padding-bottom:5px;
}
.type-selector label {
    padding: 10px 15px;
}
.type-selector select {
    width:45%;
    padding: 10px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #374151;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.type-selector select:focus {
    outline: none;
    border-color: #2B2AA0;
}

/* Unit Selection Grid (FROM - TO - TO) */
.unit-selection-grid {
    display: grid;
    grid-template-columns: 2fr 0.5fr 2fr;
    align-items: flex-end; 
    gap: 40px; /* Increased gap for separation */
}

.separator {
    font-weight: bold;
    font-size: 28px; /* Larger 'TO' for emphasis */
    color: #2B2AA0;
    text-align: center;
    line-height: 1; 
    margin-bottom: 5px; 
}

.unit-group {
    display: flex;
    flex-direction: column;
}

.unit-group label {
    font-weight: bold;
    font-size: 14px;
    color: #4B5563; 
    margin-bottom: 5px;
}

.unit-select {
    padding: 10px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #374151;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

/* Value Input/Output Grid */
.value-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* Increased gap for separation */
    padding-top: 10px; /* Extra vertical separation from unit selectors */
}

.value-input input {
    width: 100%;
    padding: 15px; /* Increased padding inside input box */
    border: 1px solid #2B2AA0; 
    border-radius: 6px;
    font-size: 20px; /* Larger font for entry */
    font-weight: bold;
    color: #2B2AA0;
    box-sizing: border-box;
}

.value-output input {
    width: 100%;
    padding: 15px; /* Increased padding inside output box */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 20px;
    font-weight: bold;
    color: #6B7280; 
    background-color: #F3F4F6;
    box-sizing: border-box;
    cursor: default;
}

.calculator-block {
    max-width: 400px; /* Constrain width for a standard calculator look */
    padding: 0; /* Remove internal padding, padding is applied to card */
    overflow:visible;
}

.calculator-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.calculator-display {
    background-color: #EFEFEF;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.calc-history {
    text-align: right;
    color: #6B7280;
    font-size: 14px;
    min-height: 18px;
}

.calc-display-input {
    width: 100%;
    border: none;
    background: none;
    text-align: right;
    font-size: 30px;
    font-weight: bold;
    color: #000000;
    padding: 0;
    cursor: default;
}

.mode-toggle-area {
    margin-bottom: 15px;
    text-align: center;
}

.mode-toggle-button {
    background-color: #F3F4F6;
    color: #2B2AA0;
    border: 1px solid #D1D5DB;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mode-toggle-button:hover {
    background-color: #E2E8F0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.calculator-grid button {
    padding: 15px 0;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.1s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Number Button Styling */
.calc-btn-number,
.calc-btn-clear {
    background-color: #FFFFFF;
    color: #374151;
}

.calc-btn-number:hover,
.calc-btn-clear:hover {
    background-color: #F3F4F6;
}

/* Operator Button Styling */
.calc-btn-operator {
    background-color: #EBF4FF; /* Light Blue */
    color: #2B2AA0;
}

.calc-btn-operator:hover {
    background-color: #D6E4FF;
}

/* Equals Button Styling */
.calc-btn-equals {
    background-color: #9E2121; /* Red */
    color: #FFFFFF;
}

.calc-btn-equals:hover {
    background-color: #7c1a1a;
}
#app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}
.clock-dashboard {
    width: 100%;
    max-width: 1100px;
    padding: 0;
}

/* Search/Add Section */
.clock-search-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 5px auto; /* Reduced margin to fit error message below */
    gap: 15px;
    position: relative;
}

.clock-city-search-wrapper {
    flex-grow: 1;
    position: relative;
}
.search-input {
    width: calc(100% - 40px);
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    font-size: 14px;
    color: #374151;
}
.clock-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-size: 15px;
    box-sizing: border-box;
}

/* Error message styling */
/* Searchable Dropdown List for Cities */
#clock-citySearchDropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
    border-radius: 0 0 8px 8px;
    padding: 0;
    text-align:left;
}

#clock-citySearchDropdown a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #000000;
    font-size: 14px;
    text-align:left;
}

#clock-citySearchDropdown a:hover {
    background-color: #f0f0f0;
}

.clock-add-city-button {
    background-color: #2B2AA0;
    color: #FFFFFF;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.clock-add-city-button:hover {
    background-color: #9E2121; /* Red Hover Color */
}

/* Clock Grid Layout */
.clock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Individual Clock Card */
.clock-card {
    position: relative;
    background-color: #F9FAFB;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.clock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.clock-city-name {
    font-size: 18px;
    font-weight: bold;
    color: #2B2AA0;
    max-width: 75%; 
}

.clock-city-name-red {
    color: #9E2121; /* Highlight local city */
}

.clock-remove-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #A0AEC0;
    font-weight: normal;
    transition: color 0.2s;
    line-height: 1;
    padding: 0 4px;
}

.clock-remove-icon:hover {
    color: #9E2121;
}

.clock-time-status {
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    align-self: flex-start;
    margin-right: 25px; 
}

.clock-status-local {
    background-color: #4CAF50; 
    color: white;
}

.clock-status-diff {
    background-color: #9E2121; 
    color: white;
}

.clock-status-normal {
    background-color: #E2E8F0;
    color: #4B5563;
}

.clock-time-display {
    font-size: 48px; 
    font-weight: 700;
    color: #000000;
    line-height: 1;
    margin-bottom: 5px;
}

.clock-secondary-info {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #6B7280;
}

.clock-date-display {
    font-weight: 600;
    margin-bottom: 2px;
}

.clock-timezone-info {
    font-size: 11px;
}
.profile-block {
    display: flex;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding:15px;
    min-height:min-content;
    min-width:min-content;
    flex-direction:column;
}
.profile-form {
    width: 100%;
    height:100%;
    display: flex;
    flex-direction: column;
    flex-grow:1;
    gap: 25px;
}

/* Grid container for side-by-side fields */
.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Increased horizontal gap for better spread and aesthetic uniformity */
    gap: 10px; 
}

.profile-form-column {
    display: flex;
    flex-direction: column;
    /* Increased vertical gap between field groups for aesthetic spread */
    gap: 35px; /* FINAL UNIFORM GAP FIX */
}

.profile-form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.profile-form-group label {
    font-weight: bold;
    font-size: 14px;
    color: #4B5563; 
    margin-bottom: 5px;
    text-align:left;
}

/* Input and Address field styling for uniformity */
.profile-form-group input,
.profile-form-group select,
.profile-address-textarea {
    padding: 8px 12px; /* Reduced vertical padding for compact fit */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #374151;
    box-sizing: border-box;
    transition: border-color 0.2s;
    width: 100%; 
    resize: none; 
}

/* Address field sizing */
.profile-address-textarea {
    /* Height calculated to align perfectly with the vertical gap structure */
    height: 105px; 
    line-height: 1.4;
}

.profile-form-group input:focus,
.profile-address-textarea:focus {
    outline: none;
    border-color: #2B2AA0;
}

/* Styling for uneditable (read-only) fields */
.profile-uneditable input,
.profile-uneditable textarea {
    background-color: #EFEFEF; 
    color: #6B7280; 
    font-weight: 500;
}

.profile-uneditable label {
    color: #6B7280;
}

/* Update Button */
.update-profile-button {
    background-color: #2B2AA0;
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 30px; 
    transition: background-color 0.3s;
    align-self: center; 
}

.update-profile-button:hover {
    background-color: #9E2121; 
}
.feedback-block {
    max-width: 800px; 
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px;
    box-sizing: border-box;
}
.feedback-form-grid {
    display: grid;
    /* Two columns: 1fr for Subject (short), 2fr for Message (long) */
    grid-template-columns: 1fr 2fr; 
    gap: 40px; 
}
.feedback-form-column {
    display: flex;
    flex-direction: column;
    gap: 25px; 
}
.message-textarea {
    width: 100%;
    min-height: 250px; /* Set a large minimum height for the message */
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #374151;
    box-sizing: border-box;
    resize: vertical; /* Allow resizing only vertically */
}
.profile-form-group input:focus,
.profile-form-group select:focus,
.message-textarea:focus {
    outline: none;
    border-color: #2B2AA0;
}
.change-password-block {
    max-width: 550px; 
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 30px;
    box-sizing: border-box;
    text-align:left;
}

.change-password-user-id-label {
    font-size: 16px;
    color: #4B5563;
    font-weight: bold;
    /* Increased spacing to match aesthetic */
    margin-bottom: 30px; 
    text-align: center;
}

.change-password-user-id-value {
    color: #000000;
    font-weight: 500;
}

.change-password-form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}
/* Password Field Container (Input + Icon) */
.form-grid-single {
    display: flex;
    flex-direction: column;
    /* Ensure elements stack with spacious gaps */
    gap: 30px; 
}
.change-password-form-group label {
    font-weight: bold;
    font-size: 14px;
    color: #4B5563; 
    margin-bottom: 5px;
}
.change-password-form-group input {
    padding: 10px 40px 10px 12px; /* Extra padding on right for the icon */
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 15px;
    color: #374151;
    box-sizing: border-box;
}
/* Show/Hide Icon Styling */
.change-password-toggle {
    position: absolute;
    right: 12px;
    bottom: 10px;
    cursor: pointer;
    color: #A0AEC0;
    font-size: 16px;
    transition: color 0.2s;
}

.change-password-toggle:hover {
    color: #2B2AA0;
}


/*********style 2.1*************************/
.table{width:100%;height:100%;margin-bottom:1rem;color:#212529}
.table td,.table th{padding:.75rem;vertical-align:top;border-top:1px solid #dee2e6}
.table thead th{vertical-align:bottom;border-bottom:2px solid #dee2e6}
.table tbody+tbody{border-top:2px solid #dee2e6}
.maincontainer {
	text-align: center
}
img.supportlink {
	border-style: none;
	border-color: inherit;
	border-width: medium;
	height: 32px;
	width: 32px
}
img.supportlink1 {
	border-style: none;
	border-color: inherit;
	border-width: medium;
	height: 32px;
	width: 32px
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	position: relative;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px
}

.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
	float: left
}

.col-xs-12 {
	width: 100%
}

.col-xs-11 {
	width: 91.66666667%
}

.col-xs-10 {
	width: 83.33333333%
}

.col-xs-9 {
	width: 75%
}

.col-xs-8 {
	width: 66.66666667%
}

.col-xs-7 {
	width: 58.33333333%
}

.col-xs-6 {
	width: 50%
}

.col-xs-5 {
	width: 41.66666667%
}

.col-xs-4 {
	width: 33.33333333%
}

.col-xs-3 {
	width: 25%
}

.col-xs-2 {
	width: 16.66666667%
}

.col-xs-1 {
	width: 8.33333333%
}

.col-xs-pull-12 {
	right: 100%
}

.col-xs-pull-11 {
	right: 91.66666667%
}

.col-xs-pull-10 {
	right: 83.33333333%
}

.col-xs-pull-9 {
	right: 75%
}

.col-xs-pull-8 {
	right: 66.66666667%
}

.col-xs-pull-7 {
	right: 58.33333333%
}

.col-xs-pull-6 {
	right: 50%
}

.col-xs-pull-5 {
	right: 41.66666667%
}

.col-xs-pull-4 {
	right: 33.33333333%
}

.col-xs-pull-3 {
	right: 25%
}

.col-xs-pull-2 {
	right: 16.66666667%
}

.col-xs-pull-1 {
	right: 8.33333333%
}

.col-xs-pull-0 {
	right: auto
}

.col-xs-push-12 {
	left: 100%
}

.col-xs-push-11 {
	left: 91.66666667%
}

.col-xs-push-10 {
	left: 83.33333333%
}

.col-xs-push-9 {
	left: 75%
}

.col-xs-push-8 {
	left: 66.66666667%
}

.col-xs-push-7 {
	left: 58.33333333%
}

.col-xs-push-6 {
	left: 50%
}

.col-xs-push-5 {
	left: 41.66666667%
}

.col-xs-push-4 {
	left: 33.33333333%
}

.col-xs-push-3 {
	left: 25%
}

.col-xs-push-2 {
	left: 16.66666667%
}

.col-xs-push-1 {
	left: 8.33333333%
}

.col-xs-push-0 {
	left: auto
}

.col-xs-offset-12 {
	margin-left: 100%
}

.col-xs-offset-11 {
	margin-left: 91.66666667%
}

.col-xs-offset-10 {
	margin-left: 83.33333333%
}

.col-xs-offset-9 {
	margin-left: 75%
}

.col-xs-offset-8 {
	margin-left: 66.66666667%
}

.col-xs-offset-7 {
	margin-left: 58.33333333%
}

.col-xs-offset-6 {
	margin-left: 50%
}

.col-xs-offset-5 {
	margin-left: 41.66666667%
}

.col-xs-offset-4 {
	margin-left: 33.33333333%
}

.col-xs-offset-3 {
	margin-left: 25%
}

.col-xs-offset-2 {
	margin-left: 16.66666667%
}

.col-xs-offset-1 {
	margin-left: 8.33333333%
}

.col-xs-offset-0 {
	margin-left: 0
}
.fdropdown {
	float: left;
	overflow: hidden
}
.fdropdown .fdropbtn {
	font-size: 12px;
	border: none;
	outline: none;
	color: #2bb3f8;
	padding: 7px 8px;
	background-color: inherit;
	font-family: inherit;
	margin: 0
}
.fnavbar a:hover, .fdropdown:hover .fdropbtn {
	color: #f74514;
	background-color: #024f76
}

.fdropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,.2);
	z-index: 1
}

	.fdropdown-content a {
		float: none;
		color: black;
		padding: 5px 10px;
		text-decoration: none;
		display: block;
		text-align: left
	}

.fdropdown-content a:hover {
            background-color: #ddd;
        }

.fdropdown:hover .fdropdown-content {
	display: block
}

.table-exrate
{
    border-collapse:collapse;
    padding:0 !important;
    border:1px solid black;
}
.table-exrate td, .table-exrate th
{
    text-align:left;
    padding:1px;
}

.table-exrate span
{
    text-align:left;
    padding: 0 !important;
}
    .table-exrate label {
        text-align: left;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .table-exrate input {
        padding: 0 !important;
    }

.swich-slider{
  height: 0;
  width: 0;
  visibility: hidden;
}

.switch{
  cursor: pointer;
  text-indent: -9999px;
  width: 50px !important;
  height: 25px !important;
  background: grey;
  display: block;
  border-radius: 25px !important;
  position: relative;
}

.switch:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 90px;
  transition: 0.3s;
}

.swich-slider:checked + label.switch {
  background: #bada55;
}

.swich-slider:checked + label.switch:after {
  left: calc(100% - 5px);
  transform: translateX(-100%);
}

.switch:active:after {
  width: 130px;
}
 
    /******MOBILE DEVICE*/
@media screen and (max-width:600px), screen and (max-width: 768px), screen and (max-width: 992px)  {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: var(--bg-gray);
        color: var(--text-dark);
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 56px;
        background-color: var(--brand-blue);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
        z-index: 1000;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .header-icon {
        color: white;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
    }

    .header-title {
        color: white;
        font-weight: bold;
        font-size: 18px;
    }

    .mobile-header a {
        text-decoration: none;
        color: #FFFFFF;
        font-weight: bold;
        cursor: pointer;
    }

    .top-bar {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background-color: var(--brand-blue);
        z-index: 9500; /* Highest layer so it sits on top of login forms */
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        gap: 30px;
        padding: 0;
    }

    .logo-panel {
        display: none;
    }

    .nav-center {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background-color: var(--brand-blue);
        z-index: 9500; /* Highest layer so it sits on top of login forms */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .nav-right {
        position: absolute; /* Positions this container relative to the .top-bar. */
        right: 5%; /* Places the container 5% from the right edge of the top bar. */
    }

    .main-bar-right {
        text-align: right; /* Aligns text and inline elements to the right. */
    }

    .nav-button {
        color: white;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.5px;
        cursor: pointer;
        padding: initial;
        border-radius: initial;
        transition: initial;
        display: initial;
        align-items: initial;
    }
        .nav-button:active {
            opacity: 0.7;
        }

    .info-sub-bar {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        height: 20px;
        background-color: #e5e7eb; /* Light gray */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        z-index: 990;
        font-size: 9px;
        font-weight: 600;
        color: #9E2121;
        border-bottom: 1px solid #d1d5db;
    }

    .signup-panel,
    .forgot-panel,
    .login-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #F3F4F6;
        z-index: 9000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
        padding-top: 100px;
    }

    
    .signup-box,
    forgot-box,
    .login-box {
        background: white;
        width: 100%;
        max-width: 400px;
        padding: 30px 25px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    }

    .signup-box {
        margin-top: 760px;
        padding-top:20px;
        padding-left:20px;
    }

    .auth-logo-container {
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        border-radius: 6px;
        padding: 8px;
    }

    .auth-logo-img {
        max-height: 100%;
        max-width: 90%;
        object-fit: contain;
    }

    .auth-header {
        text-align: center;
        color: var(--brand-blue);
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 14px;
    }

    .input-group2 {
        margin-bottom: 15px;
        position: relative;
    }

    .auth-label {
        display: block;
        font-size: 13px;
        font-weight: bold;
        color: #000;
        margin-bottom: 6px;
    }

    .auth-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #D1D5DB;
        border-radius: 4px;
        font-size: 14px;
        background: #fff;
    }

        .auth-input:focus {
            outline: 1px solid var(--brand-blue);
        }

    .auth-textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #D1D5DB;
        border-radius: 4px;
        font-size: 14px;
        min-height: 80px;
        resize: vertical;
        font-family: inherit;
    }

    .show-pass-btn {
        position: absolute;
        right: 10px;
        top: 32px;
        font-size: 12px;
        font-weight: bold;
        color: #7f1d1d; /* Darkish red per image */
        cursor: pointer;
        background: none;
        border: none;
    }

    .checkbox-group {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .terms-link {
        color: #9E2121;
        font-weight: bold;
        text-decoration: none;
    }

    .back-button {
        background: none;
        border: none;
        color: var(--brand-blue);
        cursor: pointer;
        font-weight: bold;
        font-size: 20px;
        float:initial;
        max-width:40px;
        height:30px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:5px;
        border:1px solid #180f6c;
    }
        .back-button:hover {
            color: #FFFFFF;
            background-color: #2B2AA0;
        }

    /* Replaced Red button with Brand Blue as requested */
    .login-button {
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 5px;
        background-color: var(--brand-blue);
        color: white;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        text-transform: uppercase;
    }

        .login-button:active {
            transform: scale(0.98);
            opacity: 0.9;
        }

    .links {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
        font-size: 13px;
        font-weight: bold;
    }

    .forgot-password, .new-user {
        background: none;
        border: none;
        color: var(--brand-blue);
        cursor: pointer;
        font-weight: bold;
        font-size: 13px;
        padding: 0;
    }

    .updates-bar {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        height: 20px; /* Very small height */
        background-color: #e5e7eb; /* Light gray */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        z-index: 990; /* Just below header */
        font-size: 9px; /* Very small text */
        font-weight: 600;
        color: #9E2121;
        border-bottom: 1px solid #d1d5db;
    }

    .main-bar-left {
        display: none;
    }

    .contact-panel {
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width:600px;
        min-width:initial;
        align-items: center;
        justify-content: center;
        background-color: #F3F4F6;
        z-index: 9000;
        padding: 20px;
        overflow-y: auto;
        padding-top: 70px;
        box-sizing: border-box;
    }
    .contact-box {
        background: white;
        width: 90%;
        padding: 10px 10px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        align-items: flex-start;
        text-align: left;
        margin-top: 200px;
        margin-bottom:15px;
    }
    .captcha-group
    {
        display:grid;
        grid-template-columns: 1fr 50px;
    }
    
    .captcha-group img
    {
        width:100%;
    }
    .captcha-group input
    {
        width:100%;
        grid-column: span 2;
    }
    
    .home-container {
        /* Adjusted padding: Top clears headers, bottom clears fixed footer bar */
        padding: 96px 20px 30px 20px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-y:auto;
    }

    .welcome-section {
        margin-bottom: 25px;
    }

    .welcome-title {
        font-size: 22px;
        font-weight: 800;
        color: var(--brand-blue);
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }

    .welcome-user-name {
        color: #000000; /* Pure black as requested */
        font-weight: 600;
    }

    .updates-box {
        background-color: #ffffff;
        border-left: 3px solid var(--brand-blue);
        padding: 10px;
        border-radius: 0 6px 6px 0;
        font-size: 12px;
        color: #4B5563; /* Softer dark gray for text */
        line-height: 1.6;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft, modern shadow */
    }

    .updates-header {
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        color: var(--brand-blue);
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-update-details {
        margin-bottom: 10px;
        font-size: 11px !important;
        font-weight: bold;
        font-family: inherit !important;
    }

        .mobile-update-details * {
            font-size: 10px !important;
            font-weight: normal !important;
        }
    /* LOGO CONTAINER - Bigger */
    .home-logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 160px; /* Increased height */
        margin-bottom: 30px;
        /* To insert image: <img src="logo.png" style="max-height:100%;"> */
    }

    /* MENU CARDS */
    .home-menu-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .menu-card {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        border: 1px solid #F3F4F6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .menu-card:active {
            transform: scale(0.98);
            background-color: #FAFAFA;
            border-color: var(--brand-blue);
        }

    .menu-card-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .menu-icon-circle {
        width: 44px;
        height: 44px;
        border-radius: 12px; /* Soft square looks more modern */
        background-color: #F0F5FF;
        color: var(--brand-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .menu-title {
        font-size: 15px;
        font-weight: 700;
        color: #111827;
    }

    .menu-arrow {
        color: #D1D5DB;
        font-size: 12px;
    }

    .menu-title a {
        text-decoration: none;
        color: #111827;
    }
    /* FOOTER AREA - Pushed to bottom */
    .home-footer-area {
        margin-bottom: 30px; /* This pushes the element to the bottom of the flex container */
        padding-top: 5px; /* Space from content */
        padding-bottom: 5px; /* Space from bottom bar */
        text-align: center;
    }

    .footer-terms-link {
        font-size: 11px;
        color: var(--brand-blue);
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        border-bottom: 1px dotted var(--brand-blue); /* Subtle underline style */
    }

    /* The sticky minute footer bar */
    .homepage-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 24px;
        background-color: #F9FAFB;
        border-top: 1px solid #E5E7EB;
        color: #9CA3AF;
        font-size: 9px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2000;
        letter-spacing: 0.5px;
    }

    .footer-center {
        text-align: center; /* Centers the text inside this container. */
        align-items: center;
        justify-content: center;
        flex: 1; /* Allows this container to grow and fill the available space, ensuring true centering. */
        padding: 0;
    }
    
    .details-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 3000;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow-y:auto;
    }
        .details-modal.active {
            transform: translateY(0);
        }
    .modal-header {
        background: var(--brand-blue);
        color: white;
        padding: 10px 15px;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
        .modal-header-left { justify-self: start; }
        .modal-header-center { text-align: center; }
        .modal-header-right { justify-self: end; display: flex; gap: 10px; align-items: center; }
        
        .btn-modal-header {
            background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4);
            color: white; border-radius: 4px; padding: 4px 8px; font-size: 11px; cursor: pointer;
        }
        .modal-close { 
            background: none; border: none; 
            color: white; /* Ensure this is white */
            font-size: 24px; /* Made it bigger */
            cursor: pointer; padding: 0 10px; 
            height: 100%; display: flex; align-items: center;
        }
}

@media (min-width:768px) {
	.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 {
		float: left
	}

	.col-sm-12 {
		width: 100%
	}

	.col-sm-11 {
		width: 91.66666667%
	}

	.col-sm-10 {
		width: 83.33333333%
	}

	.col-sm-9 {
		width: 75%
	}

	.col-sm-8 {
		width: 66.66666667%
	}

	.col-sm-7 {
		width: 58.33333333%
	}

	.col-sm-6 {
		width: 50%
	}

	.col-sm-5 {
		width: 41.66666667%
	}

	.col-sm-4 {
		width: 33.33333333%
	}

	.col-sm-3 {
		width: 25%
	}

	.col-sm-2 {
		width: 16.66666667%
	}

	.col-sm-1 {
		width: 8.33333333%
	}

	.col-sm-pull-12 {
		right: 100%
	}

	.col-sm-pull-11 {
		right: 91.66666667%
	}

	.col-sm-pull-10 {
		right: 83.33333333%
	}

	.col-sm-pull-9 {
		right: 75%
	}

	.col-sm-pull-8 {
		right: 66.66666667%
	}

	.col-sm-pull-7 {
		right: 58.33333333%
	}

	.col-sm-pull-6 {
		right: 50%
	}

	.col-sm-pull-5 {
		right: 41.66666667%
	}

	.col-sm-pull-4 {
		right: 33.33333333%
	}

	.col-sm-pull-3 {
		right: 25%
	}

	.col-sm-pull-2 {
		right: 16.66666667%
	}

	.col-sm-pull-1 {
		right: 8.33333333%
	}

	.col-sm-pull-0 {
		right: auto
	}

	.col-sm-push-12 {
		left: 100%
	}

	.col-sm-push-11 {
		left: 91.66666667%
	}

	.col-sm-push-10 {
		left: 83.33333333%
	}

	.col-sm-push-9 {
		left: 75%
	}

	.col-sm-push-8 {
		left: 66.66666667%
	}

	.col-sm-push-7 {
		left: 58.33333333%
	}

	.col-sm-push-6 {
		left: 50%
	}

	.col-sm-push-5 {
		left: 41.66666667%
	}

	.col-sm-push-4 {
		left: 33.33333333%
	}

	.col-sm-push-3 {
		left: 25%
	}

	.col-sm-push-2 {
		left: 16.66666667%
	}

	.col-sm-push-1 {
		left: 8.33333333%
	}

	.col-sm-push-0 {
		left: auto
	}

	.col-sm-offset-12 {
		margin-left: 100%
	}

	.col-sm-offset-11 {
		margin-left: 91.66666667%
	}

	.col-sm-offset-10 {
		margin-left: 83.33333333%
	}

	.col-sm-offset-9 {
		margin-left: 75%
	}

	.col-sm-offset-8 {
		margin-left: 66.66666667%
	}

	.col-sm-offset-7 {
		margin-left: 58.33333333%
	}

	.col-sm-offset-6 {
		margin-left: 50%
	}

	.col-sm-offset-5 {
		margin-left: 41.66666667%
	}

	.col-sm-offset-4 {
		margin-left: 33.33333333%
	}

	.col-sm-offset-3 {
		margin-left: 25%
	}

	.col-sm-offset-2 {
		margin-left: 16.66666667%
	}

	.col-sm-offset-1 {
		margin-left: 8.33333333%
	}

	.col-sm-offset-0 {
		margin-left: 0
	}
}

@media (min-width:992px) {
	.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 {
		float: left
	}

	.col-md-12 {
		width: 100%
	}

	.col-md-11 {
		width: 91.66666667%
	}

	.col-md-10 {
		width: 83.33333333%
	}

	.col-md-9 {
		width: 75%
	}

	.col-md-8 {
		width: 66.66666667%
	}

	.col-md-7 {
		width: 58.33333333%
	}

	.col-md-6 {
		width: 50%
	}

	.col-md-5 {
		width: 41.66666667%
	}

	.col-md-4 {
		width: 33.33333333%
	}

	.col-md-3 {
		width: 25%
	}

	.col-md-2 {
		width: 16.66666667%
	}

	.col-md-1 {
		width: 8.33333333%
	}

	.col-md-pull-12 {
		right: 100%
	}

	.col-md-pull-11 {
		right: 91.66666667%
	}

	.col-md-pull-10 {
		right: 83.33333333%
	}

	.col-md-pull-9 {
		right: 75%
	}

	.col-md-pull-8 {
		right: 66.66666667%
	}

	.col-md-pull-7 {
		right: 58.33333333%
	}

	.col-md-pull-6 {
		right: 50%
	}

	.col-md-pull-5 {
		right: 41.66666667%
	}

	.col-md-pull-4 {
		right: 33.33333333%
	}

	.col-md-pull-3 {
		right: 25%
	}

	.col-md-pull-2 {
		right: 16.66666667%
	}

	.col-md-pull-1 {
		right: 8.33333333%
	}

	.col-md-pull-0 {
		right: auto
	}

	.col-md-push-12 {
		left: 100%
	}

	.col-md-push-11 {
		left: 91.66666667%
	}

	.col-md-push-10 {
		left: 83.33333333%
	}

	.col-md-push-9 {
		left: 75%
	}

	.col-md-push-8 {
		left: 66.66666667%
	}

	.col-md-push-7 {
		left: 58.33333333%
	}

	.col-md-push-6 {
		left: 50%
	}

	.col-md-push-5 {
		left: 41.66666667%
	}

	.col-md-push-4 {
		left: 33.33333333%
	}

	.col-md-push-3 {
		left: 25%
	}

	.col-md-push-2 {
		left: 16.66666667%
	}

	.col-md-push-1 {
		left: 8.33333333%
	}

	.col-md-push-0 {
		left: auto
	}

	.col-md-offset-12 {
		margin-left: 100%
	}

	.col-md-offset-11 {
		margin-left: 91.66666667%
	}

	.col-md-offset-10 {
		margin-left: 83.33333333%
	}

	.col-md-offset-9 {
		margin-left: 75%
	}

	.col-md-offset-8 {
		margin-left: 66.66666667%
	}

	.col-md-offset-7 {
		margin-left: 58.33333333%
	}

	.col-md-offset-6 {
		margin-left: 50%
	}

	.col-md-offset-5 {
		margin-left: 41.66666667%
	}

	.col-md-offset-4 {
		margin-left: 33.33333333%
	}

	.col-md-offset-3 {
		margin-left: 25%
	}

	.col-md-offset-2 {
		margin-left: 16.66666667%
	}

	.col-md-offset-1 {
		margin-left: 8.33333333%
	}

	.col-md-offset-0 {
		margin-left: 0
	}
}

@media (min-width:1200px) {
	.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 {
		float: left
	}

	.col-lg-12 {
		width: 100%
	}

	.col-lg-11 {
		width: 91.66666667%
	}

	.col-lg-10 {
		width: 83.33333333%
	}

	.col-lg-9 {
		width: 75%
	}

	.col-lg-8 {
		width: 66.66666667%
	}

	.col-lg-7 {
		width: 58.33333333%
	}

	.col-lg-6 {
		width: 50%
	}

	.col-lg-5 {
		width: 41.66666667%
	}

	.col-lg-4 {
		width: 33.33333333%
	}

	.col-lg-3 {
		width: 25%
	}

	.col-lg-2 {
		width: 16.66666667%
	}

	.col-lg-1 {
		width: 8.33333333%
	}

	.col-lg-pull-12 {
		right: 100%
	}

	.col-lg-pull-11 {
		right: 91.66666667%
	}

	.col-lg-pull-10 {
		right: 83.33333333%
	}

	.col-lg-pull-9 {
		right: 75%
	}

	.col-lg-pull-8 {
		right: 66.66666667%
	}

	.col-lg-pull-7 {
		right: 58.33333333%
	}

	.col-lg-pull-6 {
		right: 50%
	}

	.col-lg-pull-5 {
		right: 41.66666667%
	}

	.col-lg-pull-4 {
		right: 33.33333333%
	}

	.col-lg-pull-3 {
		right: 25%
	}

	.col-lg-pull-2 {
		right: 16.66666667%
	}

	.col-lg-pull-1 {
		right: 8.33333333%
	}

	.col-lg-pull-0 {
		right: auto
	}

	.col-lg-push-12 {
		left: 100%
	}

	.col-lg-push-11 {
		left: 91.66666667%
	}

	.col-lg-push-10 {
		left: 83.33333333%
	}

	.col-lg-push-9 {
		left: 75%
	}

	.col-lg-push-8 {
		left: 66.66666667%
	}

	.col-lg-push-7 {
		left: 58.33333333%
	}

	.col-lg-push-6 {
		left: 50%
	}

	.col-lg-push-5 {
		left: 41.66666667%
	}

	.col-lg-push-4 {
		left: 33.33333333%
	}

	.col-lg-push-3 {
		left: 25%
	}

	.col-lg-push-2 {
		left: 16.66666667%
	}

	.col-lg-push-1 {
		left: 8.33333333%
	}

	.col-lg-push-0 {
		left: auto
	}

	.col-lg-offset-12 {
		margin-left: 100%
	}

	.col-lg-offset-11 {
		margin-left: 91.66666667%
	}

	.col-lg-offset-10 {
		margin-left: 83.33333333%
	}

	.col-lg-offset-9 {
		margin-left: 75%
	}

	.col-lg-offset-8 {
		margin-left: 66.66666667%
	}

	.col-lg-offset-7 {
		margin-left: 58.33333333%
	}

	.col-lg-offset-6 {
		margin-left: 50%
	}

	.col-lg-offset-5 {
		margin-left: 41.66666667%
	}

	.col-lg-offset-4 {
		margin-left: 33.33333333%
	}

	.col-lg-offset-3 {
		margin-left: 25%
	}

	.col-lg-offset-2 {
		margin-left: 16.66666667%
	}

	.col-lg-offset-1 {
		margin-left: 8.33333333%
	}

	.col-lg-offset-0 {
		margin-left: 0
	}
}