/*******************************************************************************
Application - Library
*******************************************************************************/

/* Prevent scrollwork flickering */

body {
    overflow-y: scroll;
}


/* Mandatory icon for lables on forms */

label.mandatory:before, span.mandatory:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f069";
    vertical-align: super;
    font-size: xx-small;
    color: #DC4128;
    margin: 1px;
}

/* 
* Mouse over disabled button
*/
button:hover:disabled, a:hover:disabled, .toggle[disabled=disabled] .toggle-group label.toggle-off:hover, .toggle[disabled=disabled] .toggle-group label.toggle-on:hover, a[name="un-pivot"].text-muted {
    cursor: not-allowed;
}

/* floating competition div */

.vertical-box {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

.competition {
    background-color: #006F74;
    color: white;
    padding: 15px 10px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.competition:hover {
    background-color: #3a5a8f;
}

  
.bg-primary.active {
    background-color: #1D345C !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    color: #EBA900 !important;

}

.bg-secondary.active {
    background-color: #1D345C !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    color: #EBA900 !important;
 
}

.bg-teal.active {
    background-color: #1D345C !important;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    color: #EBA900 !important;

}

.competition.active::after {
    content: "→";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    font-size: 1.2em;
    color: #006168;
    text-shadow: 0 0 3px rgba(0,0,0,0.5);
}
/* .panel-toggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    padding: 10px 12px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    z-index: 999;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    font-size: 18px;
    color: #555;
    transition: all 0.3s ease;
} */

.panel-toggle {
    cursor: grab;
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 0 5px 5px 0;
    z-index: 999999; /* Super high z-index */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    font-size: 18px;
    color: #555;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

/* Let jQuery UI handle the positioning */
#movable-panel {
    position: fixed;
    left: 0;
    z-index: 999998; /* Very high z-index */
}

.panel-toggle:hover {
    color: #333;
    background: #e0e0e0;
}

.floating-container {
    position: fixed;
    left: 75px;
    top: 50%;
    transform: translateY(-35%);
    width: 120px;
    background-color: #f0f0f0;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 999997; /* Very high z-index */
    transition: all 0.3s ease;
}

.floating-container.hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(-100%);
    pointer-events: none;
}

/* top space */
.top-space {
    padding-top: 30px;
}

#bottom-space {
    padding-bottom: 80px;
}

/* ************************************ */
/* breadcrumb design css */
/* ************************************ */
.breadcrumb {
    font-size: 14px;
}


.breadcrumb-css {
    position: relative;
    display: inline-block;
    left: 20px;
}

.breadcrumb-css a {
    padding: 8px 17px 9px 25px;
    margin-right: 5px;
    background: #efefef;
    position: relative;
    display: inline-block;
    width: auto;
    color: #006168
}

.breadcrumb-css a:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}

.breadcrumb-css a:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #efefef;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}

/* competition */
.compIcon, .closeIcon{
    font-size: 25px;
}

.movingText{
    font-size: 10px;
}
.compid{
    font-size: 12px;
}

/* Add this to your existing CSS */
.history-table-wrapper {
    width: 100%;
    display: table;
    table-layout: fixed;
    border-collapse: collapse;
}

.change-hist-heading {
    display: table-cell;
    padding: 10px;
    background-color: #006F74;
    color: white;
    text-align: left;
    font-weight: 600;
    border: none;
    width: 25%; /* Each of 4 columns gets 25% width */
}

.change-hist-cell {
    display: table-cell;
    padding: 10px;
    border-top: 1px solid rgba(177, 177, 177, 0.25);
    border-bottom: 1px solid rgba(177, 177, 177, 0.25);
    text-align: left;
    vertical-align: middle;
    width: 25%; /* Each of 4 columns gets 25% width */
}

.change-hist-cell-row {
    display: table-row;
    background: rgba(63, 193, 192, 0.1);
}

.change-hist-cell-row:nth-child(even) {
    background-color: rgba(195, 195, 195, 0.1);
}

.change-hist-cell-row:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.2);
}

.air-datepicker {
   
    z-index: 99999; 
}
