@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
}

.dashboard {
    display: flex;
    width: 100%;
}

.sidebar {
    box-shadow: 1px 0 4px -2px #888;
    width: 280px;
    min-height: 100vh;
    padding: 20px 30px;
    position: fixed;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 100 !important;
    background-color: white;
}

.logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
}

.mobile-menu {
    display: none;
}

.sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin: 25px 0;
}

.sidebar ul li a {
    color: #395F7F;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    display: block;
    text-transform: uppercase;
}

.sidebar ul li a:hover {
    font-weight: 900;
}

.sidebar .selected::before {
    content: '';
    width: 9px;
    height: 22px;
    background-color: #395F7F;
    position: absolute;
    left:0;
}

.sidebar .selected {
    font-weight: 900;
}

.content {
    margin-left: 280px;
    padding: 40px;
    flex-grow: 1;
    background-color: white;
    min-height: 100vh;
}

header {
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 1px 0 4px -2px #888;
}

footer small {
    display: block;
    color: #395F7F;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 30px;
    top: 15px;
    left: 15px;
    cursor: pointer;
    z-index: 1000 !important;
    color: #2c3e50;
}

.text-blue {
    color: #395F7F;
}

.badge {
    border: 3px solid #395F7F;
    color:#395F7F;
    font-weight: 900;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 5px;
}

.steps {
    display: flex;
    column-gap: 5px;
}

.steps .step {
    background-color: #D9D9D9;
    width: 40px;
    height: 6px;
    border-radius: 2px;
}

.steps .step.selected {
    background-color: #395F7F;
}

@media (max-width: 1100px) {
    .sidebar {
        width: 230px;
    }
    .content {
        margin-left: 230px;
    }
}

/* Sidebar Hidden Initially for Mobile */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
    }
    .content {
        padding: 15px 25px;
    }

    .logo {
        max-width: 170px;
        margin-bottom: 0;
    }
    .mobile-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .sidebar {
        background-color: white;
        z-index:10;
        transform: translateX(-100%);
        position: fixed;
        width: 100%;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
    }

    .hamburger {
        display: block;
    }
}

/* When sidebar is active, take up full width on mobile */
.sidebar.active {
    transform: translateX(0);
    width: 100%;
}

/* 20241103 Added by Isnu  */

.scrollup {
    border-radius: 2rem;
    width: 3rem;
    height: 3rem;
    position: fixed;
    bottom: 1rem;
    right: 3rem;
    display: none;
    padding: .5rem;
    text-align: center;
    background-color: rgba(158, 40, 14, 0.8);
    color: #fff;
}

.d-none{
    display:none!important;
}

.btn {
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    border-radius: 9999px;
    cursor: pointer;
}

.btn-primary {
    background-color: rgba(55, 79, 108, 1);
    color: #fff;
}

    .btn-primary:hover, .btn-primary:active {
        background-color: rgba(34, 51, 72, 1);
        outline-style: solid;
        outline-width: 2px;
        outline-color: #374f6c;
        outline-offset: 2px;
    }

.btn-secondary {
    background-color: rgba(158, 40, 14, 1);
    color: #fff;
}

    .btn-secondary:hover, .btn-secondary:active {
        background-color: rgba(189, 46, 15, 1);
        outline-style: solid;
        outline-width: 2px;
        outline-color: #9e280e;
        outline-offset: 2px;
    }

.btn-disabled {
    background-color: rgba(196, 196, 196, 1);
    color: #eee;
}

.inputRadioGroup input {
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(55, 79, 108, 1);
}

    .inputRadioGroup input:focus {
        --tw-ring-inset:;
        --tw-ring-offset-width: 0px;
        --tw-ring-offset-color: #fff;
        --tw-ring-color: rgba(59, 130, 246, 1);
        --tw-ring-offset-shadow: 0 0 #0000;
        --tw-ring-shadow: 0 0 #0000;
    }

.inputRadioGroup label {
    margin-left: 0.75rem;
}

/* Custom table */

@media (min-width: 768px) {
    .ccc-table.ccc-pairings table thead tr td:first-child,
    .ccc-table.ccc-pairings table tbody tr td:first-child {
        display: table-cell;
    }
}

.ccc-table.ccc-pairings table thead tr td:nth-of-type(1),
.ccc-table.ccc-pairings table tbody tr td:nth-of-type(1) {
    position: sticky;
    left: 0px;
    z-index: 10;
    white-space: normal;
    border-right-width: 1px;
    border-color: rgba(229, 231,235, 1);
    background-color: rgba(255, 255, 255, 1);
    width: 170px;
    max-width: 170px;
}

.ccc-table.ccc-pairings table thead tr td:nth-of-type(1) {
    background-color: rgba(243, 244, 246, 1);
}

.ccc-table strong {
    font-weight: 700 !important;
}

@media (min-width: 700px) {
    .ccc-table.ccc-pairings table thead tr td:nth-of-type(1),
    .ccc-table.ccc-pairings table tbody tr td:nth-of-type(1) {
        border-right: none;
    }
}


@media (min-width: 768px) {
    .ccc-table.ccc-entries table thead tr td:first-child,
    .ccc-table.ccc-entries table tbody tr td:first-child {
        display: table-cell;
    }
}

.ccc-table.ccc-entries table thead tr td:nth-of-type(1),
.ccc-table.ccc-entries table tbody tr td:nth-of-type(1) {
    position: sticky;
    left: 0px;
    z-index: 10;
    white-space: normal;
    border-right-width: 1px;
    border-color: rgba(229, 231,235, 1);
    background-color: rgba(255, 255, 255, 1);
    width: 170px;
    max-width: 170px;
}

.ccc-table.ccc-entries table thead tr td:nth-of-type(1) {
    background-color: rgba(243, 244, 246, 1);
}

.ccc-table strong {
    font-weight: 700 !important;
}

@media (min-width: 700px) {
    .ccc-table.ccc-entries table thead tr td:nth-of-type(1),
    .ccc-table.ccc-entries table tbody tr td:nth-of-type(1) {
        border-right: none;
    }
}
