/* Define a global CSS variable */
:root {
    --Redwood_Color: #A63632;
}s

.switch-label {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
}

.switch-label input {
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 34px;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.radio-item-label {
    margin-bottom: 10px;  /* Adjust the spacing as needed */
}


/* Ensure to target the dropdown specifically */
.custom-dropdown .Select-control {
    border: 2px solid var(--Redwood_Color); /* Border color */
    border-radius: 5px; /* Rounded corners */
    box-shadow: none; /* Remove default shadow */
    padding: 0; /* Remove padding */
    background-color: white; /* Set background color */
}

/* Center-align the text inside the dropdown */
.custom-dropdown .Select-placeholder,
.custom-dropdown .Select-menu-outer {
    text-align: center;
}


/* Ensure to target the dropdown specifically */
.custom-dropdown2 .Select-control {
    border: 1px solid var(--Redwood_Color); /* Border color */
    border-radius: 5px; /* Rounded corners */
    box-shadow: none; /* Remove default shadow */
    padding: 0; /* Remove padding */
    background-color: white; /* Set background color */
}

/* Center-align the text inside the dropdown */
.custom-dropdown2 .Select-placeholder,
.custom-dropdown2 .Select-menu-outer {
    text-align: center;
}


.custom-dropdown3 .Select-control {
    border: 0px solid var(--Redwood_Color);
    border-radius: 5px;
    box-shadow: none;
    padding: 0;
    background-color: #FBFCFC;
    height: 90px !important;
    min-height: 90px !important;
    display: flex;
    align-items: center;
}

.custom-dropdown3 .Select-value-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: black;
    height: 100%;
}

.custom-dropdown3 .Select-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: black;
    height: 100%;
}


/* Outer control: size and border */
.custom-dropdown4 .Select-control {
  height: 36px;
  border: 2px solid #A63632;  /* Redwood_Color */
  border-radius: 5px;
  box-shadow: none;
}

/* Make the placeholder and selected value share the same vertical box */
.custom-dropdown4 .Select-control .Select-placeholder,
.custom-dropdown4 .Select--single > .Select-control .Select-value {
  height: 34px;               /* close to control height minus borders */
  line-height: 34px;
}

/* Center the visible text (placeholder and selected value) */
.custom-dropdown4 .Select-placeholder,
.custom-dropdown4 .Select--single > .Select-control .Select-value,
.custom-dropdown4 .Select-value-label,
.custom-dropdown4 .Select-input > input {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  color: black;
}

/* Keep the text-input area aligned with the control height */
.custom-dropdown4 .Select-input {
  height: 34px;
}



/*************/
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid black;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    text-align: center; /* Center the header text */
}

td {
    text-align: left; /* Align cell content to the left */
}

/* Column widths */
th:nth-child(1), td:nth-child(1) {
    width: 30%; /* First column width */
}

th:nth-child(2), td:nth-child(2) {
    width: 70%; /* Second column width */
}


/* Custom dark header */
.custom-table-header th {
    background-color: #343a40 !important;  /* Dark header color */
    color: white !important;
}

/* Zebra striping for the table body */
.custom-table-body tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05) !important;  /* Light striping */
}

.custom-table-body tr:nth-child(even) {
    background-color: white !important;  /* Default white for even rows */
}

/* Ensure borders are applied */
.custom-table-bordered {
    border: 1px solid black !important;
    border-collapse: collapse !important;
}


