﻿html {
    font-size: 14px;
}
.form-label {
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #6c757d;
    text-align: left;         
}
.screenheading {
    font-size: 16px;
    text-align: left;
    margin-left: -7px;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Alert Box */
.alert-box {
    position: absolute; /* Changed to absolute */
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 20px;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000; /* Ensures it stays on top */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for width/height */
}
.text-sm-custom {
    font-size: 10.5px; /* Set to 12px */
    font-weight:700;
}

.p-4 {
    padding: 1.2rem !important;
}

/* Icon */
.alert-icon {
    font-size: 50px;
    color: #d32f2f;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #d32f2f;
}

/* Alert Title and Message */
.alert-content h3 {
    margin: 0;
    font-size: 18px;
    color: #d32f2f;
    font-weight: bold;
}

.alert-content p {
    margin: 0;
    font-size: 16px;
    color: #d32f2f;
}



.alert-box.success {
    position: absolute; /* Changed to absolute */
    display: flex;
    align-items: center;
    background-color: #d4edda; /* Light green background */
    border: 1px solid #c3e6cb; /* Darker green border */
    color: #155724; /* Dark green text */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 400px;
    padding: 20px;
    margin: 10px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000; /* Ensures it stays on top */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for width/height */
}

.alert-icon1 .icon {
    color: #28a745; /* Green icon color */
    font-size: 24px; /* Increase icon size */
    display: inline-block; /* Align icon and text */
    margin-right: 10px; /* Space between icon and text */
}



.progress {
    height: 100%;
    width: 0;
    background-color: #28a745; /* Green progress color */
    transition: width 3s; /* Duration of the progress fill */
}

.commondiv-box {
  height: 95vh;
 overflow-x: auto;
 white-space: nowrap;
 border-radius: 10px;
 background-color: #ffffff;
 box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
 padding: 20px;
 border: 1px solid #ddd;
 position: relative;
 min-height: 469px;
 box-sizing: border-box;
 margin-left:48px;
 width: 97.5%;
 margin-top: 18px;
 font-size:12px;
}

/* Media Queries for Laptops and Desktops */

/* Small laptops (less than 768px) */
@media (max-width: 767.98px) {
    .commondiv-box {
        margin-left: 20px; /* Adjust margin */
        width: 95%; /* Increase width for small laptops */
        height: auto; /* Allow height to adjust based on content */
    }
}

/* Medium laptops (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .commondiv-box {
        margin-left: 40px; /* Adjust margin for medium laptops */
        width: 85%; /* Slightly less width */
    }
}

/* Large laptops and desktops (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .commondiv-box {
        margin-left: 201px; /* Adjust margin for larger laptops */
        width: 85%; /* Set a narrower width */
        height:92vh;
    }
}

/* Extra large desktops (1441px and up) */
@media (min-width: 1441px) {
    .commondiv-box {
        margin-left: 234px; /* Increase left margin for extra-large screens */
        width: 87%; /* Set a narrower width for large screens */
    }
}





.commondivbox {
    height: 99vh;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #ddd;
/*    position: relative;
*/    min-height: 469px;
    box-sizing: border-box;
    margin-left:48px;
    width:100%;
    margin-top: 18px;
    font-size:10px;
}

/* Media queries for smaller screen sizes */
@media (max-width: 1200px) {
    .commondivbox {
        width: 90%; /* Adjust width for smaller screens */
        font-size: 11px; /* Slightly smaller font */
    }
}

@media (max-width: 300px) {
    .commondivbox {
        width: 95%; /* Further adjust width for mobile screens */
        padding: 10px; /* Reduce padding on smaller screens */
        font-size: 10px; /* Smaller font for mobile */
    }

    table {
        display: block; /* Force table to behave more like a block element */
        overflow-x: auto; /* Enable horizontal scrolling */
        width: 100%; /* Full width for better responsiveness */
    }

    thead, tbody {
        display: block; /* Stack table header and body */
    }

    th, td {
        display: inline-block; /* Stack columns vertically */
        width: 100%; /* Full width for each column */
    }
}

@media (max-width: 480px) {
    .commondivbox {
        font-size: 9px; /* Further reduce font size for small screens */
    } 
}



    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

    html {
        position: relative;
        min-height: 100%;
    }


    .header {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
        background-color: #3c427f;
        color: white;
    }

    .content-box {
        margin: 0 auto;
        border: 0.5px solid #ece0e0;
        width: 95%;
        padding: 20px;
        background-color: #ffffff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        font-size: x-small;
    }



    .button {
        background-color: #366ffb; /* Green background */
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.3s ease; /* Smooth transition */
    }

        .button:hover {
            background-color: #004aff; /* Darker green on hover */
        }

    /*.button {
    background-color: #04AA6D;*/ /* Green */
    /*border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.buttoncreatenew {
    background-color: #008CBA;
    box-shadow: 2px 4px #888888;
    border-radius: 5px;
    font-size: x-small;
}

.buttonupdate {
    background-color: green;
    box-shadow: 2px 4px #888888;
    border-radius: 5px;
    text-align: center;
    font-size: x-small;
}*/

    .label {
        font-weight: bold;
        font-size: 13px;
        padding: 5px 25px;
    }

    .textbox {
        flex: 1;
        display: flex;
        align-items: center;
    }


    .row {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
    }


        .row label {
            display: block;
            margin-bottom: 5px;
        }

      /*  .row input {
            width: 100%;
            border-radius:unset;
        }*/


    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .form-control:hover {
        transform: scale(1.0);
    }

    .required {
        color: red;
        font-size: 130%;
    }

    .header-strip {
        background: linear-gradient(to right, #5388ed, #f3eeee); /* Adjust the colors as needed */
        padding: 5px;
        color: white;
        font-family: Arial, sans-serif;
        font-size: 14px;
        border-left: 4px solid white; /* Adjust border style and color as needed */
    }

    

    .header {
        background-color: #5388ed;
    }

    /*delete button*/
    .deletebutton {
        display: flex;
        align-items: center;
        background: #007bff;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
        outline: none;
        transition: background 0.3s;
        position: relative;
        overflow: hidden;
    }

        .deletebutton:hover {
            background: red;
        }

    .icon {
        display: flex;
        align-items: center;
        margin-right: 10px;
    }

        .icon svg {
            width: 20px;
            height: 20px;
        }

    .delete {
        animation: slideOut 0.5s forwards;
    }

    @keyframes slideOut {
        from {
            transform: translateX(0);
            opacity: 1;
        }

        to {
            transform: translateX(100px);
            opacity: 0;
        }
    }

    /*deletealert*/
    .deletealert {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #28a745;
        color: white;
        padding: 15px 20px;
        border: none;
        border-radius: 8px;
        z-index: 1000;
        text-align: center;
        width: 320px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

        .deletealert.show {
            display: block;
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.05);
        }

        .deletealert p {
            margin: 0;
            font-size: 16px;
            font-weight: bold;
            letter-spacing: 0.5px;
        }
    /* table design */
    .tablemain-content {
        flex: 1;
        padding: 20px;
        font-size: small;
    }

    .header-actions {
        display: flex;
        align-items: center; /* Vertically center-aligns items */
        gap: 10px; /* Space between elements */
    }

        .header-actions .btn.add,
        .header-actions a {
            display: inline-flex;
            align-items: center;
            margin: 0; /* Remove any default margins */
            padding: 5px 10px; /* Adjust padding to your needs */
            white-space: nowrap; /* Prevents text from wrapping */
        }

        .header-actions .btn {
            padding: 5px 10px;
            border: none;
            background-color: #007bff;
            color: white;
            cursor: pointer;
        }

        .header-actions input {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

    .contacts-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
        font-size: x-small;
    }

        .contacts-table th, .contacts-table td {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: left;
        }

        .contacts-table th {
            background-color: #f7f7f7;
        }

        .contacts-table .tag {
            display: inline-block;
            padding: 2px 5px;
            border-radius: 3px;
            background-color: #ddd;
            margin-right: 5px;
        }

    .validation-error {
        display: none;
        color: red;
        text-align: center;
        margin-top: 10px;
    }
    /* curreny symbol inner text box
*/

    .input-wrapper {
        position: relative;
        display: inline-block;
        width: 65%;
    }

    .currency-symbol {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #000;
        font-size: 1.2em;
        font-weight: 200;
        border-right: 1px solid black;
        padding-right: 10px;
        pointer-events: none;
        height: 98%;
        display: flex;
        align-items: center;
        z-index: 1;
    }

    .form-controlnew {
        padding-left: 60px;
        width: 100%;
        box-sizing: border-box;
        text-align: right;
        border: 2px solid black;
        border-radius: 4px;
        height: 38px;
        font-size: 1em;
        padding: 0 10px;
        transition: border-color 0.2s ease-in-out, transform 0.2s ease-in-out;
    }

        .form-controlnew:focus {
            border-color: black;
            outline: none;
        }

    /*   .form-controlnew:hover {
        transform: scale(1.1);
        border-color: #5388ed;
        border: 3px solid #5388ed;
    }*/

    /*placeholder color*/
    input::placeholder {
        color: #9e9696;
        opacity: 0.7;
    }

    .form-control::placeholder {
        color: #9e9696;
        opacity: 0.7;
    }
    /*savealert*/
    .savealert {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(-100%); /* Start off-screen */
        background-color: green;
        color: white;
        padding: 10px;
        border: 1px solid #d6e9c6;
        border-radius: 5px;
        z-index: 1000;
        text-align: center;
        width: 300px;
        transition: transform 0.5s ease, opacity 0.5s ease;
        opacity: 0;
    }

        .savealert.show {
            display: block;
            transform: translate(-50%, -50%); /* Slide in to the center */
            opacity: 1;
        }


    /* Ensure that the label and icon are in one line */
    .d-flex {
        display: flex;
        align-items: center;
    }

    .tooltip-icon {
        color: black;
        cursor: pointer;
        margin-left: 5px;
    }

    /* Tooltip content styling */
    .tooltip-content {
        display: none; /* Hide by default */
        position: absolute;
        background-color: #333;
        color: #fff;
        padding: 5px;
        border-radius: 4px;
        font-size: 12px;
        max-width: 200px; /* Adjust as needed */
        z-index: 1000;
        /* Add other styling as needed */
    }

        /* Positioning the tooltip */
        .tooltip-content::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }

    .hidden-column {
        display: none;
    }


    .no-hover-border:focus {
        outline: none;
        box-shadow: none; /* Removes the blue shadow */
        border-color: #ccc; /* Keep the border color consistent */
    }


    @media (max-width: 600px) {
        body {
            margin: 0;
            font-family: Raleway, sans-serif;
            background-color: #ffffff;
        }

        .container {
            display: flex;
            flex-direction: column;
            padding: 15px;
            align-items: flex-start;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
            margin: 10px;
            width: 150%;
            max-width: 90%;
        }
    }

    .screen {
        background: linear-gradient(90deg, #c8c5de, #716ad9);
        position: relative;
        height: 600px;
        width: 360px;
        box-shadow: 0px 0px 24px #5C5696;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        transition: width 0.3s ease;
    }

    .screen__content {
        z-index: 1;
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 30px;
    }

    .screen__background {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
        overflow: hidden;
    }

    .screen__background__shape {
        transform: rotate(45deg);
        position: absolute;
    }

    .screen__background__shape1 {
        height: 520px;
        width: 520px;
        background: #FFF;
        top: -50px;
        right: 120px;
        border-radius: 0 72px 0 0;
    }

    .screen__background__shape2 {
        height: 220px;
        width: 220px;
        background: #6C63AC;
        top: -172px;
        right: 0;
        border-radius: 32px;
    }

    .screen__background__shape3 {
        height: 540px;
        width: 190px;
        background: linear-gradient(270deg, #5D54A4, #6A679E);
        top: -24px;
        right: 0;
        border-radius: 32px;
    }

    .screen__background__shape4 {
        height: 400px;
        width: 200px;
        background: #7E7BB9;
        top: 420px;
        right: 50px;
        border-radius: 60px;
    }

    .login {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 30px;
        padding-top: 156px;
        box-sizing: border-box;
    }

    .login__field {
        padding: 20px 0px;
        position: relative;
        width: 100%;
    }

    .login__icon {
        position: absolute;
        top: 30px;
        color: #7875B5;
    }

    .login__input {
        border: none;
        border-bottom: 2px solid #D1D1D4;
        background: none;
        padding: 10px;
        padding-left: 24px;
        font-weight: 700;
        width: 90%;
        transition: .2s;
    }

        .login__input:active,
        .login__input:focus,
        .login__input:hover {
            outline: none;
            border-bottom-color: #6A679E;
        }

    .login__submit {
        background: #fff;
        font-size: 14px;
        margin-top: 30px;
        padding: 16px 20px;
        border-radius: 26px;
        border: 1px solid #D4D3E8;
        text-transform: uppercase;
        font-weight: 700;
        display: flex;
        align-items: center;
        width: 90%;
        color: #4C489D;
        box-shadow: 0px 2px 2px #5C5696;
        cursor: pointer;
        transition: .2s;
    }

        .login__submit:active,
        .login__submit:focus,
        .login__submit:hover {
            border-color: #6A679E;
            outline: none;
        }

    .button__icon {
        font-size: 24px;
        margin-left: auto;
        color: #7875B5;
    }

    .social-login {
        position: absolute;
        height: 140px;
        width: 160px;
        text-align: center;
        bottom: 0;
        right: 0;
        color: #fff;
    }

    .social-icons {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-login__icon {
        padding: 20px 10px;
        color: #fff;
        text-decoration: none;
        text-shadow: 0px 0px 8px #7875B5;
    }

        .social-login__icon:hover {
            transform: scale(1.5);
        }

    .change-password {
        top: 15%;
        width: 360px;
        background: linear-gradient(90deg, #5D54A4, #7C78B8);
        box-shadow: -4px 0px 24px #5C5696;
        padding: 30px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 2;
        color: white;
        font-weight: bold;
        position: fixed;
    }

        .change-password div {
            margin-bottom: 10px;
        }

        .change-password input {
            width: 100%;
        }

    @media (max-width: 768px) {
        .screen {
            width: 100%;
            height: auto;
            box-shadow: none;
        }

        .login {
            padding: 20px;
            padding-top: 100px;
        }

        .change-password {
            position: relative;
            width: 100%;
            height: auto;
            box-shadow: none;
            right: 0;
            display: block;
        }
    }

    @media (min-width: 769px) {
        .screen {
            width: 360px;
            height: 600px;
        }


        .login {
            padding: 30px;
        }
    }

    #login-form {
        --primary: #6D58FF;
        --primary-dark: #362A89;
        --dark: #2B3044;
        --grey-dark: #404660;
        --grey: #8A91B4;
        --grey-light: #A6ACCD;
        --light: #BBC1E1;
        --pale: #ECEFFC;
        --white: #FFFFFF;
        --red: #F04949;
        width: 100%;
        max-width: 180px;

{
    width: 44px;
    height: 44px;
    display: block;
    margin: 0 auto;
    fill: var(--primary);
}

.input {
    position: relative;


{
    pointer-events: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    position: absolute;
    top: 8px;
    left: 0;
    transform-origin: 0 50%;
    transform: translateY(var(--label-y, 0)) scale(var(--label-scale, 1)) translateZ(0);
    transition: transform .3s, color .3s;
    color: var(--label-color, var(--grey-light));
}

input {
    width: 100%;
    border-radius: 0;
    -webkit-appearance: none;
    &:not(:placeholder-shown), &:focus

{
    & + label

{
    --label-y: -17px;
    --label-scale: .8;
    --label-color: var(--grey);
}

}
}

&.password {
    height: 34px;
    .dots

{
    position: absolute;
    display: flex;
    left: 0;
    top: 50%;
    transform: translateY(-2px);
    i

{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grey-dark);
    display: block;
    margin-right: 4px;
    animation: var(--name, scale-in) .05s linear forwards;
    &.remove

{
    --name: scale-out;
}

$i: 1;
@while $i <= 15 {
    $delay: 400 - 6.5 * $i;
    &:nth-child(#{$i})

{
    --delay: #{$delay}ms;
}

$i: $i + 1;
}
}
}

input {
    opacity: 0;
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    &:focus

{
    & + label + .cursor

{
    animation: cursor 1s ease infinite;
}

}
}
}

.line,
.tick {
    pointer-events: none;
    position: absolute;
    left: var(--left, 0);
    bottom: var(--bottom, -10px);
    opacity: var(--opacity, 1);
    transition: opacity 0s linear var(--tick-opacity-delay, .5s);
    svg

{
    stroke: var(--line-stroke, var(--grey));
    stroke-width: 1;
    fill: none;
    display: block;
    width: var(--width, 900px);
    height: var(--height, 22px);
    transform: translateX(var(--x, var(--line-x, 0)));
    transition: transform var(--line-x-duration, 0s) ease, stroke .3s;
}

}

.line {
    overflow: hidden;
    width: 100%;
    transform-origin: 0 50%;
}

.tick {
    --left: 100%;
    --bottom: -1px;
    --width: 32px;
    --height: 28px;
    --x: -16px;
    --opacity: 0;
    svg

{
    stroke: var(--tick-stroke, var(--grey));
    stroke-dasharray: 17 81;
    stroke-dashoffset: var(--tick-offset, 34px);
    transition: stroke-dashoffset .5s ease var(--tick-delay, 0s), stroke .5s ease var(--tick-delay, 0s);
}

}
}

button {
    border: none;
    outline: none;
    padding: 10px 0;
    margin: 24px 0 0 0;
    border-radius: 7px;
    color: var(--c, #fff);
    width: 100%;
    font-size: 14px;
    line-height: 16px;
    position: relative;
    font-family: inherit;
    font-weight: 500;
    background: var(--b, var(--primary-dark));
    transition: color .3s, background .3s;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    &:disabled

{
    --b: var(--pale);
    --c: var(--grey-light);
    cursor: not-allowed;
}

svg {
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -8px 0 0 -8px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.5;
    opacity: var(--svg-o, 0);
    transform: translateY(var(--svg-y, -16px)) rotate(-90deg) scale(var(--svg-s, .7)) translateZ(0);
    transition: transform .3s, opacity .3s;
    circle

{
    &:first-child

{
    stroke-opacity: .1;
}

&:last-child {
    stroke-dasharray: 38px;
    stroke-dashoffset: 114px;
}

}
}

span {
    display: inline-block;
    vertical-align: top;
    line-height: 16px;
    opacity: var(--span-o, 1);
    transform: translateY(var(--span-y, 0)) scale(var(--span-s, 1)) translateZ(0);
    transition: transform .3s, opacity .3s;
}

}

&.processing {
    &:not(.error):not(.success)

{
    button

{
    --svg-y: 0;
    --svg-s: 1;
    --svg-o: 1;
    --span-y: 16px;
    --span-s: .7;
    --span-o: 0;
    svg

{
    circle

{
    &:last-child

{
    animation: load 1.2s linear .3s;
}

}
}
}
}

&.error {
    --line-x: -80%;
    --line-x-duration: 2s;
    --line-stroke: var(--red);
    --cursor-duration: 1s;



{
    animation: flip .4s linear var(--delay) forwards;
}

}
}

&.success {
    .input

{
    .tick

{
    --opacity: 1;
    --tick-offset: 98px;
    --tick-delay: .45s;
    --tick-opacity-delay: 0s;
    --tick-stroke: var(--primary);
    animation: tick .4s linear forwards;
}

.line {
    animation: line .5s linear forwards;
}

}
}
}
}

@keyframes tick {
    70%, 80% {
        transform: translateX(-10px);
    }
}

@keyframes line {
    70% {
        transform: scaleX(.8);
    }
}
/*.pagecontent {
    border: 1px solid #989595;
    margin:10px;
}*/


.moveon {
    background: linear-gradient(to right, #6a50a2 20%, #32d65b 30%, #0ccfaf 70%, #6a50a2 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}



.popupdialog {
    background-color: #fcfcfc;
    margin: auto;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 90%; /* Default for mobile */
    max-width: 400px; /* Limit for larger screens */
}

    /* Text alignment */
    .popupdialog h2 {
        margin: 0 0 10px;
        font-size: 24px;
    }

    .popupdialog p {
        margin: 0 0 20px;
        font-size: 10px;
        color: #555;
        font-weight: 700;
    }


.black_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}

/* Lightbox effect: center and style the popup */
.white_content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
}



.login-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .login-form label {
        margin: 10px 0 5px;
    }

    .login-form input {
        padding: 11px 11px;
        margin-bottom: 15px;
        border: none;
        border-bottom: 2px solid #ddd;
        background: none;
        outline: none;
        transition: border-color 0.3s;
    }

        .login-form input:focus {
            border-bottom-color: #5388ed;
        }





/*     Repeat */

/* Google Font Import - Poppins */

.tab-button {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

    .tab-button.active {
        background-color: #828d99;
        color: #ffffff;
        border-radius: 5%;
        padding: 0px 30px;
    }

    .tab-button:not(.active):hover {
        background-color: #0080ff;
        color: #ffffff;
    }

    .tab-button.active:hover {
        background-color: #0080ff;
        color: #ffffff;
    }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    /* ===== Colors ===== */
    --body-color: #E4E9F7;
    --sidebar-color: #FFF;
    --primary-color: #0d6efd;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #707070;
    /* ====== Transition ====== */
    --tran-03: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;
}

body {
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}

/* Top Horizontal Menu Bar */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0; /* Adjust this to the width of your sidebar */
    height: 38px; /* Set a height for the top navbar */
    width: 100%; /* Adjust width based on sidebar width */
    background-color: #e6e9f3;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .top-menu a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background-color: #f0f0f0;
        transition: background 0.3s ease, transform 0.2s;
    }

        .top-menu a:hover {
            background-color: #dce7ff;
            transform: scale(1.0);
        }

    .top-menu i {
        font-size: 20px;
        color: #0d6efd;
        cursor: pointer;
    }

.menu-item {
    color: black; /* Text color */
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .menu-item:hover {
        color: var(--primary-color-light); /* Change color on hover */
    }

body.dark {
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #3a3b3c;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
}

/* ===== Sidebar ===== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 152px;
    padding: 10px 14px;
    background: #e6e9f3;
    transition: var(--tran-05);
    z-index: 100;
}


    .sidebar.close {
        width:67px;
    }

    /* ===== Reusable code - Here ===== */
    .sidebar li {
        height: 40px;
        list-style: none;
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

    .sidebar header .image,
    .sidebar .icon {
        min-width: 36px;
        border-radius: 6px;
    }

    .sidebar .icon {
        min-width: 60px;
        border-radius: 6px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .sidebar .text,
    .sidebar .icon {
        color: black;
        transition: var(--tran-03);
    }

    .sidebar .text {
        font-size: 11px;
        font-weight: 500;
        white-space: nowrap;
        opacity: 1;
        font-family: inherit;
    }
    .sidebar.close .text {
        opacity: 0;
    }
    /* =========================== */

    .sidebar header {
        position: relative;
    }

        .sidebar header .image-text {
            display: flex;
            align-items: center;
        }

        .sidebar header .logo-text {
            display: flex;
            flex-direction: column;
        }

header .image-text .name {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
}

header .image-text .profession {
    font-size: 16px;
    margin-top: -2px;
    display: block;
}

.sidebar header .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sidebar header .image img {
        width: 25px;
        border-radius: 6px;
        margin-left: -29px;
    }

.sidebar header .toggle {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 20px;
    width: 20px;
    background-color: #4887f9;
    color: var(--sidebar-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sidebar header .toggle {
    color: var(--text-color);
}

.sidebar.close .toggle {
    transform: translateY(-50%) rotate(0deg);
}



.sidebar li.search-box {
    border-radius: 10px 16px 10px;
    background-color: #fcfcff;
    cursor: pointer;
    transition: var(--tran-05);
    width: 100%;
}

    .sidebar li.search-box input {
        height: 60%;
        width: 60%;
        outline: none;
        border: none;
        background-color: var(--primary-color-light);
        color: var(--text-color);
        border-radius: 10px 16px 10px;
        font-size: 14px;
        font-weight: 500;
        transition: var(--tran-05);
    }

.sidebar li a {
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

    .sidebar li a:hover {
        background-color: #4887f9;
        border-radius: 10px;
    }

        .sidebar li a:hover .icon,
        .sidebar li a:hover .text {
            color: var(--sidebar-color);
        }

body.dark .sidebar li a:hover .icon,
body.dark .sidebar li a:hover .text {
    color: var(--text-color);
}

.sidebar .menu-bar {
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
/*    overflow-y: scroll;
*/}

.menu-bar::-webkit-scrollbar {
    display: none;
}

.sidebar .menu-bar .mode {
    border-radius: 6px;
    background-color: var(--primary-color-light);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon {
    height: 50px;
    width: 60px;
}

.mode .sun-moon i {
    position: absolute;
}

    .mode .sun-moon i.sun {
        opacity: 0;
    }

body.dark .mode .sun-moon i.sun {
    opacity: 1;
}

body.dark .mode .sun-moon i.moon {
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch {
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.toggle-switch .switch {
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
    transition: var(--tran-05);
}

.switch::before {
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--sidebar-color);
    transition: var(--tran-04);
}

body.dark .switch::before {
    left: 20px;
}

.home {
    position: fixed;
    top: 0;
    top: 0;
    width: calc(100% - 250px);
    background-color:white;
    transition: var(--tran-05);
    list-style-type: none;
}

    .home .text {
        font-size: 30px;
        font-weight: 500;
        color: var(--text-color);
    }

.sidebar.close ~ .home {
    left: 57px;
    width: calc(100% - 78px);
}

body.dark .home .text {
    color: var(--text-color);
}

.button {
    background-color: #366ffb; /* Green background */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth transition */
}

    .button:hover {
        background-color: #004aff; /* Darker green on hover */
    }

.eye-icon {
    position: absolute;
    right: 12px;
    transform: translateY(-50%); /* Center the icon vertically */
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem; /* Adjust size as needed */
    color: #999; /* Icon color */
    transition: color 0.2s; /* Smooth color change */
}

.input-container {
    position: relative;
}

.ValidationMessage {
    display: none; /* Initially hide the validation message */
    color: red; /* Change the color of the validation message */
}


.adminbtn {
    display: block;
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; /* Smooth transition for hover effects */
}

/* Base styles for each button */
.adminbtn1, .adminbtn2, .adminbtn3, .adminbtn4, .adminbtn5, .adminbtn6 {
    color: black;
    font-weight: 700;
    background-color: #f0f0f0; /* Example background color */
}

    /* Hover effects */
    .adminbtn1:hover {
        transform: rotateY(15deg) scale(1.05); /* Added scaling effect */
        box-shadow: 0 15px 15px #4887f9;
        background-color: #e0e0ff; /* Change background color on hover */
    }

    .adminbtn2:hover {
        transform: rotateY(-15deg) scale(1.05);
        box-shadow: 0 -15px 15px #4887f9;
        background-color: #e0e0ff;
    }

    .adminbtn3:hover {
        transform: rotateY(15deg) scale(1.05);
        box-shadow: -15px 0 15px #4887f9;
        background-color: #e0e0ff;
    }

    .adminbtn4:hover {
        transform: rotateY(-15deg) scale(1.05);
        box-shadow: 15px 0 15px #4887f9;
        background-color: #e0e0ff;
    }

    .adminbtn5:hover {
        transform: rotateY(-15deg) scale(1.05);
        box-shadow: 15px 0 15px #4887f9;
        background-color: #e0e0ff;
    }

    .adminbtn6:hover {
        transform: rotateY(-15deg) scale(1.05);
        box-shadow: 15px 0 15px #4887f9;
        background-color: #e0e0ff;
    }


.header-actions .adminbtn.add,
.header-actions a {
    display: inline-flex;
    align-items: center;
    margin: 0; /* Remove any default margins */
    padding: 8px 19px; /* Adjust padding to your needs */
    white-space: nowrap; /* Prevents text from wrapping */
}

.header-actions .adminbtn {
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}





/*
.btn {
    display: block;
    margin: 10px 0;
    width: 118px;
    height: 40px;
    border: none;
    font-size: 14px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    transition: .3s linear;
    color: white;
}
*/

.headingbtn {
    display: block;
    margin: 10px 0;
    width: 118px;
    height: 40px;
    border: none;
    font-size: 14px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
    transition: .3s linear;
    color: white;
}

.btn1 {
    color: black;
    font-weight: 700;
    height: 6%;
}

.btn2 {
    color: black;
    font-weight: 700;
    height: 6%;
}

.btn3 {
    color: black;
    font-weight: 700;
    height: 6%;
}

.btn4 {
    color: black;
    font-weight: 700;
    height: 6%;
}

.btn5 {
    color: black;
    font-weight: 700;
    height: 6%;
}


.btn6 {
    color: black;
    font-weight: 700;
    height: 6%;
}

.btn1:hover {
    transform: rotateY(15deg);
    box-shadow: 0 15px 15px #4887f9;
}

.btn2:hover {
    transform: rotateY(-15deg);
    box-shadow: 0 -15px 15px #4887f9;
}

.btn3:hover {
    transform: rotateY(15deg);
    box-shadow: -15px 0 15px #4887f9;
}

.btn4:hover {
    transform: rotateY(-15deg);
    box-shadow: 15px 0 15px #4887f9;
}


.btn5:hover {
    transform: rotateY(-15deg);
    box-shadow: 15px 0 15px #4887f9;
}


.btn6:hover {
    transform: rotateY(-15deg);
    box-shadow: 15px 0 15px #4887f9;
}



/*Duplicate Replace*/

/* Heading Design */
h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    position: relative;
    padding: 10px 20px;
    background: #4887f9;
    color: white;
/*    text-transform: uppercase;
*/    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}




/*radio check box*/
.form-check-input {
    width: 42px;
    height: 22px;
    position: relative;
    appearance: none;
    background-color: #ccc;
    border-radius: 34px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}

    .form-check-input:checked[type=checkbox] {
        background-image: none;
    }

    .form-check-input:before {
        content: '';
        position: absolute;
        top: 0px;
        left: 2px;
        width: 18px;
        height: 18px;
        background-color: white;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

    .form-check-input:checked {
        background-color: #0d6efd;
    }

        .form-check-input:checked:before {
            transform: translateX(20px);
        }

    .form-check-input:focus, .form-check-input:active {
        border-color: transparent;
        box-shadow: none;
    }

    .form-check-input:focus {
        border-color: darkgreen;
    }

.ValidationMessage {
    display: block;
    font-size: 9px;
    padding: 2px 10px;
    background-color: #fae1e4;
    color: red;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-weight: 500;
    position: absolute;
    width: calc(75% - 64px);
    opacity: 0;
    bottom: -34px;
    left: 0;
    margin-bottom:14px;
}

    .ValidationMessage.show {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes colorChange {
    0% {
        color: #f5576c;
    }

    25% {
        color: #f093fb;
    }

    50% {
        color: #6a82fb;
    }

    75% {
        color: #f9d423;
    }

    100% {
        color: #f5576c;
    }
}

.setlistscreenscroll {
    overflow-y: auto; /* Scrollbar appears only when content exceeds height */
    height: 90vh; /* Set a specific height */
    scrollbar-width: thin; /* For thin scrollbar (Firefox-specific) */
    font-size: 12px;
    font-style: normal;
}

    /* Optional: For thin scrollbar in Webkit browsers like Chrome/Safari */
    .setlistscreenscroll::-webkit-scrollbar {
        width: 6px; /* Set scrollbar width */
    }

    .setlistscreenscroll::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3); /* Custom scrollbar thumb color */
        border-radius: 10px; /* Rounded scrollbar thumb */
    }

/*Table Border*/
.Set-tableborder {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Let browser auto-size based on content */
}

    .Set-tableborder th,
    .Set-tableborder td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
        white-space: nowrap; /* Prevent breaking unless you want wrapping */
    }

    .Set-tableborder tbody td {
        word-break: break-word;
        white-space: normal; /* Allow wrapping only inside tbody */
    }

    .Set-tableborder th {
        background-color: #4887f9;
        color: white;
        font-weight: bold;
    }

    .Set-tableborder tr:nth-child(even) {
        background-color: #f9f9f9; /* Zebra striping */
    }



.headingbtn {
    display: block;
    height: 37px;
    font-size: 9.8px;
    text-decoration: none;
    color: white;
    text-align: center;
    position: relative;
    transition: all .35s;
    background-color: #4887f9;
    color: white;
    font-weight: 700;
    overflow: hidden;
/*    border: 1px solid transparent;
*/}

    .headingbtn:after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background-color: white;
        transition: all .35s;
        z-index: 1;
    }


    .headingbtn:hover {
        color: #4887f9;
        border-color: #4887f9;
    }


        .headingbtn:hover:after {
            width: 100%;
        }



    .headingbtn span {
        position: relative;
        z-index: 2;
    }


.search-box {
    color: black;
    transition: color 0.05s ease;
    width:80%;
}

    .search-box:hover {
        color: white;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-item {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .time-section {
        width: 100%; /* Full width for smaller screens */
    }
}


/* Mobile devices (up to 480px) */
@media (min-width: 400px) {
    .radio-item {
        font-size: 5px;
    }
}


/* Mobile devices (up to 480px) */
@media (max-width: 480px) {
    .radio-item {
        font-size: 7.2px;
    }
    .popupdialog {
        width: 197%; /* For tablets and larger screens */
        max-width: 226%;
    }

    .white_content {
        left: 30%;
    }
}

/* Tablet devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px)
{
    .radio-item {
        font-size: 10px;
    }


    /* Laptops (769px to 1024px) */
    @media (min-width: 769px) and (max-width: 1024px) {
        .radio-item {
            font-size: 12px;
        }
    }

    /* Desktops (1025px and above) */
    @media (min-width: 1025px) {
        .radio-item {
            font-size: 14px;
        }
    }

    #permissionbal {
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        color: #f5f5f5;
        padding: 5px 5px;
        border-radius: 5px;
        background: linear-gradient(1deg, #0d6efd, #0d6efd, #0d6efd, #cad1d1);
        width: 28%;
        height: 5%;
        text-align: left;
    }

    /* Gradient shift animation for smooth background transitions */
    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }

    /* Pulsing glow effect to make the text pop */
    @keyframes pulseGlow {
        0%, 100% {
            box-shadow: 0 0 10px rgba(83, 136, 237, 0.7), 0 0 20px rgba(83, 136, 237, 0.5);
        }

        50% {
            box-shadow: 0 0 15px rgba(255, 107, 107, 0.8), 0 0 30px rgba(245, 166, 35, 0.6);
        }
    }

    /* Tooltip styling for menu items */

    .menu .search-box .tooltip {
        position: absolute;
        margin-left: 52px;
        padding: 5px 10px;
        background-color: #ffffff;
        color: #fff;
        border-radius: 4px;
        font-size: 10px;
        color: #006cff;
        opacity: 0;
        white-space: nowrap;
        pointer-events: none;
        transition: opacity 0.3s ease;
        font-weight: 700;
        border: 1px solid #dddddd;
    }
    /* Show tooltip on hover */
    .menu .search-box:hover .tooltip {
        opacity: 1;
    }

    .icon-container.selected .tooltip {
        opacity: 1;
    }

    .hidden {
        display: none;
    }

    .dots-loader {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

        /* Individual Dots */
        .dots-loader .dot {
            width: 12px;
            height: 12px;
            background-color: #0d6efd;
            border-radius: 50%;
            animation: dotLoader 1.2s infinite ease-in-out;
        }

            /* Animation Timing for Each Dot */
            .dots-loader .dot:nth-child(1) {
                animation-delay: -0.4s;
            }

            .dots-loader .dot:nth-child(2) {
                animation-delay: -0.3s;
            }

            .dots-loader .dot:nth-child(3) {
                animation-delay: -0.2s;
            }

            .dots-loader .dot:nth-child(4) {
                animation-delay: -0.1s;
            }

            .dots-loader .dot:nth-child(5) {
                animation-delay: 0s;
            }


    /* Keyframes for Dot Animation */
    @keyframes dotLoader {
        0%, 100% {
            transform: scale(0.8);
            opacity: 0.6;
        }

        50% {
            transform: scale(1.2);
            opacity: 1;
        }
    }


    list-style-type: none;
    padding: 0;
    margin: 0;
}

.search-box {
    background-color: #4285f4; /* Blue background for main item */
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative; /* For submenu positioning */
}

    .search-box:hover {
        background-color: #357ae8; /* Hover effect */
    }

.nav-text {
    font-family: system-ui, sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
}

/* Parent item styling */
.nav-item {
    position: relative; /* Required for absolute positioning of submenu */
}

.submenu {
    display: none;
    position: absolute;
    left: 97%; /* Positions to the right of parent */
    top: 0;
    width: 150px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: -6px 0 0 39px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid #4887f9;
    position: absolute;
    border-radius: 7px;
    padding: 5px 0;
    margin-left:4px; /* Space for arrow */
    z-index: 1000;
    /*overflow-y:auto;
    height:165px;*/
    /* Arrow creation */
    &::before

{
    content: "";
    position: absolute;
    right: 100%; /* Positions to the left of submenu */
    top: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #4887f9; /* Arrow color matches border */
    margin-left: 4px;
}

/* Optional: White inner arrow for better visibility */
&::after {
    content: "";
    position: absolute;
    right: 97%;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid rgba(255, 255, 255, 0.95);
    margin-right: -1px; /* Slight overlap */
    margin-left: 4px;
    
}

}

/* Show submenu on hover */
.nav-item:hover .submenu {
    display: block;
}

/* Arrow icon in menu item */
.arrow-icon {
    margin-left: auto;
    padding-right: 10px;
    transition: transform 0.5s;
}

.nav-item:hover .arrow-icon {
    transform: rotate(90deg);
}

.submenu-item {
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #333;
}

.search-box:hover .submenu {
    display:block; /* Show submenu on hover */
}
.submenu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease 0s, visibility 0s linear 0.5s; /* Hides after 0.5s */
}



.search-box:hover .submenu {
    display: block;
    /* OR */
    opacity: 1;
    visibility: visible;
}

/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal content box */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Modal header */
.modal-header {
    font-size: 24px;
    font-weight: bold;
    color: #4887f9;
    margin-bottom: 20px;
}



/* Form input */
.form-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Footer buttons */
.modal-footer {
    display: flex;
}

.btn-submit {
    background-color: #4887f9;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .btn-submit:hover {
        background-color: #4887f9;
    }

.btn-cancel {
    background-color: #4887f9;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

    .btn-cancel:hover {
        background-color: #4887f9;
    }


/*.modal-row {
    display: flex;
    gap: 16px;  Add space between the two fields 
}*/

/* Default styles for desktop */
#tbl_payslip {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px; /* Default font size for desktop */
    border: 1px solid #000; /* Table border */
}

    /* Style for table headers */
    #tbl_payslip th {
        font-weight: bold;
        border: 1px solid #000; /* Border for header */
        padding: 10px;
        text-align: left;
    }

    /* Style for table cells */
    #tbl_payslip td {
        border: 1px solid #000; /* Border for table cells */
        padding: 8px;
        text-align: left;
    }

/* Tablet View */
@media screen and (max-width: 1024px) {
    #tbl_payslip {
        font-size: 14px; /* Adjusted font size for tablets */
    }

        #tbl_payslip th, #tbl_payslip td {
            padding: 6px;
        }
}

/* Mobile View */
@media screen and (max-width: 768px) {
    #tbl_payslip {
        font-size: 8px; /* Smaller font size for mobile */
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        #tbl_payslip th, #tbl_payslip td {
            padding: 4px;
            border: 1px solid #000; /* Ensure borders are still visible on mobile */
        }
}
.card-headerbirthday {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.birthday-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px;
    min-width: 100px; /* Ensures cards stay in one row */
    text-align: center;
    cursor: pointer;
    background-color: #2a5aede6;
    box-shadow: 2px 2px 5px rgb(45 13 154 / 60%);
    flex: 0 0 auto;
    margin: 3px;
}

.wish-btn {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .wish-btn:hover {
        background-color: #218838;
    }

.wish-msg {
    margin-top: 5px;
    font-weight: bold;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

/* Card Body */
.card-body {
    /* Hidden by default */
    margin-top: 10px;
    text-align: center;
}


.profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.employee-name {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

#cardprofile {
    gap: 15px;
    background: #ffffff3b;
    display: flex;
    /* box-shadow: 01px 0px 0px 0px rgb(28 40 142 / 97%); */
    /* padding: 2px; */
    border-radius: 8px;
}

#birthdayList {
    display: flex;
    list-style: none;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 7px;
}

    #birthdayList li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        background: #f9f9f9;
        margin: 5px 0;
        border-radius: 5px;
        text-align: center;
    }


.notification-badge {
    position: absolute;
    top: 2px;
    right: 46px;
    background: red;
    color: white;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    padding: 3px 7px;
    text-align: center;
    display: none;
}


.submenu-arrow {
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.5s ease-in-out;
    margin-left: auto;
}

    .submenu-arrow.open {
        transform: rotate(90deg);
    }
#notification-container {
    position: fixed;
    top: 7%;
    right: 1%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    z-index: 9998;
    gap: 1rem;
}