﻿/* ================================
   Global Theme Variables
   ================================ */
:root {
    /* Basic Colors */
    --color-primary-base: #FFFFFF;
    --color-primary: #0A1023; /* Deep navy blue */
    --color-secondary: #04b582; /* teal green */
    --color-accent: #FFD700; /* Gold */
    --font-family: Verdana, Arial, Helvetica, sans-serif;
    /* Body settings */
    --color-body-background: #FFFFF; /*#f5f7fa;*/ /* Body background color */
    --color-body-text: #333;
    --body-font-size: 12px;
    /* Header settings */
    --header-h: 80px;
    --logo-height: 50px;
    --header-left-width: 200px;
    --header-right-width: 200px;
    --menu-font-size: 14px;
    /* Content Settings */
    --content-wrapper-max-width: 80vw;
    /* Footer Settings */
    --color-link-hover: #16DFA5;
    /* Message Settings */
    --color-error: #cc0000;
    --error-font-size: 11px;
    --header-right-welcome-width: 200px;
    --font-size-welcome: 12px;
    /* Menu Settings */
    --color-radmenu-selected: #44524e;
}


/* ================================
   Base Styles
   ================================ */
body {
    background-color: var(--color-body-background);
    font-family: var(--font-family);
    font-size: var(--body-font-size);
    color: var(--color-body-text);
    margin: 0;
    padding: 0;
    /*background: url('images/bg-main.gif') no-repeat center top;*/
    background-size: cover; /* or contain, depending on design */
    height: 100%;
}
/* Use flexbox to structure page */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
}


/* ================================
   Header & Navigation
   ================================ */

.brand-logo {
    /*  background-image: url('CustomSkin/images/Prometric-Icon-w.svg');*/
    background-size: contain;
    background-repeat: no-repeat;
    height: var(--logo-height);
    width: var(--header-left-width);
}


.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | menu | spacer */
    align-items: center;
    height: var(--header-h);
    background: linear-gradient(to right, var(--color-primary) 80%, var(--color-secondary) 100%, var(--color-primary-base) 100%);
    color: var(--color-primary-base);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-left: 5px;
}
.receipt-site-header {
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | menu | spacer */
    align-items: center;
    height: var(--header-h);
    background: linear-gradient(to right, var(--color-primary) 80%, var(--color-secondary) 100%, var(--color-primary-base) 100%);
    color: var(--color-primary-base);
    /*  position: sticky;*/
    top: 0;
    z-index: 1000;
    padding-left: 5px;
    -webkit-print-color-adjust: exact; /* Chrome/Safari */
    print-color-adjust: exact; /* Firefox */
}
/* Left block with logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
    width: var(--header-left-width);
}

/* Center block for RadMenu */
.header-center {
    display: flex;
    justify-content: center; /* center menu horizontally */
}

/* Right block as empty spacer */
.header-right {
    width: var(--header-right-width); /* match logo width for balance */
}

.header-center-text1 {
    color: #FFFFFF;
    font-size: 27px;
    font-family: inherit;
    font-weight: bold;
}
.header-center-text2 {
    color: #ff9933;
    font-size: 27px;
    font-family: inherit;
    font-weight: bold;
}
.site-header-welcome {
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | menu | spacer */
    align-items: center;
    height: 0px;
    color: var(--color-primary-base);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-bottom: 10px;
}

/* Left block with logo */
.header-left-welcome {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 0px;
}

/* Center block for RadMenu */
.header-center-welcome {
    display: flex;
    justify-content: center; /* center menu horizontally */
}

/* Right block as empty spacer */
.header-right-welcome {
    width: var(--header-right-welcome-width); /* match logo width for balance */
}


/* ================================
  Welcome Area & Error Message Area
   ================================ */
.welcome-label {
    color: var(--color-secondary);
    font-size: var(--menu-font-size);
    font-style: normal;
    line-height: normal;
    font-weight: bold;
    font-variant: normal;
    font-family: var(--font-family);
}

.welcome-label-position {
    position: fixed;
    /*left: 270px;*/
    top: 60px;
    z-index: 5000;
    float: left;
}
.receipt-welcome-label-position {
    position: fixed;
    /*left: 270px;*/
    top: 60px;
    z-index: 5000;
    float: left;
}
.menu-wrapper {
    display: flex;
    align-items: center; /* vertically center RadMenu and label */
    gap: 20px; /* spacing between menu and label */
    justify-content: center; /* keep whole block centered */
}

.error-message-label {
    color: var(--color-error);
    font-weight: bold;
    font-family: var(--font-family);
    font-size: var(--error-font-size);
    font-style: normal;
    line-height: normal;
    /* font-weight: normal;*/
    font-variant: normal;
    width: 638px;
}

.error-message-label-position {
    display: flex;
    justify-content: center;
}

.errortext, .error {
    font-family: var(--error-font-fmaily);
    font-size: var(--error-font-size);
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    color: #ff0000;
}

.oktext, .ok {
    font-family: var(--error-font-fmaily);
    font-size: var(--error-font-size);
    font-style: normal;
    line-height: normal;
    font-weight: normal;
    font-variant: normal;
    color: green;
}
/* ================================
   Content area
   ================================ */

.content-wrapper {
    flex: 1; /* takes available space */
    max-width: var(--content-wrapper-max-width);
    margin: 0 auto;
    padding: 5px;
    padding-bottom: 5px;
    padding-top: 5px;
    overflow-y: auto; /* scrolls if taller than screen */
    margin-top: 25px;
    
}

.content-area {
    /* background-image: url('Images/cBack.png');
    background-repeat: repeat;*/
    padding: 10px;
    border-radius: 6px;
    background-color: var(--color-primary-base, #fff);
    border: teal 1px solid;
    border-bottom: teal 1px ridge;
}
/* ================================
   Footer
   ================================ */
.site-footer {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to right,var(--color-primary) 80%, var(--color-secondary) 100%, var(--color-primary-base) 100%);
    color: var(--color-primary-base); /* default text color */
    text-align: center;
    padding: 10px;
    border-top: 2px solid var(--color-primary);
}

.receipt-site-footer {
    /* position: sticky;*/
    bottom: 0;
    background: linear-gradient(to right,var(--color-primary) 80%, var(--color-secondary) 100%, var(--color-primary-base) 100%);
    color: var(--color-primary-base); /* default text color */
    text-align: center;
    padding: 10px;
    border-top: 2px solid var(--color-primary);
    -webkit-print-color-adjust: exact; /* Chrome/Safari */
    print-color-adjust: exact; /* Firefox */
}

.footer-trust {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-family);
   
}

.footer-text {
    font-size: 12px;
    opacity: 0.9;
    display: block;
    margin-top: 4px;
    color: var(--color-primary-base);
    font-family: var(--font-family);
}

/* Links inside footer */
.site-footer a {
    color: var(--color-primary);
    text-decoration: none;
   /* margin: 0 10px;*/
    transition: color 0.3s ease;
}

    .site-footer a:hover {
        color: var(--color-link-hover); /* teal hover */
    }

.changeLogin-border {
    border: teal 1px solid;
    border-bottom: teal 1px ridge;
    padding: 10px;
}

.comboContainer {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
}

.labelClient {
    flex: 0 0 auto;
    margin-right: 8px;
    font-weight: bold;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
}

.rcbClient {
    flex: 1;
    min-width: 150px;
    max-width: 100%;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
}

    /* Force the input box to stretch */
    .fullWidthInput,
    .rcbClient .rcbInput {
        width: 100% !important;
        box-sizing: border-box;
        font-family: var(--font-family);
        font-size: var(--body-font-size);
    }

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .comboContainer {
        flex-direction: column;
        align-items: stretch;
    }

    .labelClient {
        margin-bottom: 5px;
    }

    .rcbClient {
        width: 100% !important;
    }
}


.language-bar {
    position: sticky;
    top: var(--header-h); /* ensures it sits below the sticky header */
    z-index: 999; /* keeps it above content but below header */
    text-align: left;
    background-color: #E7ECF8;
    padding: 5px 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    display: flex; /* put children in a row */
    align-items: center; /* vertically center label and dropdown */
    justify-content: center; /* center them horizontally */
    gap: 10px; /* space between label and dropdown */
    font-family: var(--font-family);
    font-size: var(--body-font-size);
}

.lang-link {
    font-size: 9pt;
    font-family: Arial, sans-serif;
    margin-right: 8px;
    text-decoration: none;
    color: #0073e6;
    padding-right: 5px !important;
    Z-INDEX: 0;
}

        .lang-link:hover {
            text-decoration: underline;
        }

.footer-container {
    width: 100% !important;
   /* padding: 10px 20px;*/
   /* background-color: #f5f5f5;
    border-top: 1px solid #ddd;*/
}

    .footer-row {
        display: flex;
        justify-content: space-between;
        align-items: center; /* vertical centering */
       /* margin: 5px 0;*/
    }

    .footer-links {
        justify-content: flex-end; /* push links to the right */
    }

    .footer-copy {
        justify-content: center; /* center copyright text */
        text-align: center;
    }

.footer-link {
    color: #FFFF !important;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: var(--body-font-size);
   /* padding: 0px 10px !important;*/
}
  
    .footer-link:hover {
        text-decoration: underline;
    }

    .footer-cell {
        flex: 1;
        padding: 5px 10px;
    }

.footer-center-link {
    flex: 1;
    text-align: center;
    /* justify-content: center;*/
     padding-bottom:4px !important;
}

    .footer-center {
        flex: 1;
        text-align: center;
       /* justify-content: center;*/
      /* padding-bottom:2px !important;*/
    }

    .footer-right {
        text-align: right;
        /*justify-content: flex-end;*/
    }
.fullWidthPanel{
    width:100% !important;
}