.container-with-border {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Two columns of equal width */
    grid-gap: 16px; /* Space between subcontainers */
    border: 2px solid #000; /* Black border around main container */
    padding: 16px; /* Space inside the main container */
    margin: 16px; /* Space outside the main container */
    border-radius: 8px; /* Rounded corners for the main container */
    background-color: #f9f9f9; /* Light gray background for the main container */
}

.container-with-border-item {
    border: 2px solid #ccc; /* Border around each subcontainer */
    padding: 16px; /* Space inside each subcontainer */
    text-align: center; /* Center text in each subcontainer */
    border-radius: 4px; /* Slightly rounded corners for subcontainers */
    background-color: #fff; /* White background for each subcontainer */
}

.bold {
    font-weight: bold;
}

.text-left {
    text-align: left;
}

.single-sided-slider, .double-sided-slider {
    width: 300px;
    margin: 20px 0;
}

/* Container for the radio buttons */
.radio-container {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Hide default radio button */
.radio-container input[type="radio"] {
    display: none;
}

/* Custom radio button styling */
.radio-btn {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: #fff;
    transition: 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.radio-btn:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transition: 0.3s;
}

/* When radio button is checked */
input[type="radio"]:checked + .radio-btn {
    border-color: #4CAF50;
    background-color: #4CAF50;
}

input[type="radio"]:checked + .radio-btn:before {
    background-color: white;
}

/* Hover effect for the radio button */
.radio-btn:hover {
    border-color: #4CAF50;
}

/* Label styling */
.radio-container label {
    font-size: 16px;
    display: flex;
    align-items: center;
}

/* Optional: A bit of spacing for readability */
.radio-container label span {
    margin-left: 10px;
}


.toggle-switch {
   position: relative;
   display: inline-block;
   width: 50px;
   height: 25px;
}

.toggle-switch input {
   display: none; /* Hide the default checkbox */
}

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

.slider:before {
   position: absolute;
   content: "";
   height: 19px;
   width: 19px;
   left: 3px;
   bottom: 3px;
   background-color: white;
   transition: 0.4s;
   border-radius: 50%;
}

input:checked + .slider {
   background-color: #4CAF50;
}

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


/* Container for checkboxes */
.checkbox-group {
    display: flex;
    gap: 20px; /* Space between checkboxes */
    align-items: center;
    flex-wrap: wrap;
}

/* Label for each checkbox and text */
.beautiful-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

/* Hide the default checkbox */
.beautiful-checkbox input[type="checkbox"] {
    display: none;
}

/* Custom checkbox design */
.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 8px;
}

/* Checkmark inside checkbox when checked */
.checkbox-box:before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* When checkbox is checked */
input[type="checkbox"]:checked + .checkbox-box {
    background-color: #4caf50;
    border-color: #4caf50;
}

input[type="checkbox"]:checked + .checkbox-box:before {
    background-color: white;
    transform: scale(1);
}

/* Ripple effect on checkbox click */
.checkbox-box::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.4);
    transform: scale(0);
    opacity: 0;
    transition: all 0.4s ease;
}

.beautiful-checkbox input[type="checkbox"]:active + .checkbox-box::after {
    transform: scale(2.5);
    opacity: 1;
}

.container {
    display: flex;
    align-items: center;
    gap: 20px;
}

h1 {
    margin-right: 20px;
    font-size: 2rem;
}

.button-row {
    display: flex;
    width: 100%; /* Make the row span the entire width */
    gap: 10px; /* Space between buttons */
}

.button {
    flex: 1; /* Each button takes up an equal portion of the row */
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button.green {
    background-color: #28a745; /* Green background */
}

.button.green:hover {
    background-color: #218838; /* Darker green on hover */
}

.button.red {
    background-color: #dc3545; /* Red background */
}

.button.red:hover {
    background-color: #c82333; /* Darker red on hover */
}