﻿body {
    padding-top: 0;
    padding-bottom: 0;
    font-family: Arial, sans-serif;
    margin: -0%;
    padding: 0;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.container {
    max-width: 100%;
    margin: 0% auto;
    background-color: white;
    border-radius: 0%;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1%;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: darkgray;
    color: white;
    font-weight: bold;
}

tr:nth-child(even) {
    /*background-color: #f2f2f2;*/
}

tr:hover {
    background-color: #e0e0e0;
}

/*.custom-dropdown {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}*/

    /* Optional: Style the dropdown options */
    /*.custom-dropdown option {
        background-color: #fff;
        color: #333;
    }*/

/* CustomStyles.css */
@media only screen and (max-width: 767px) {

    .btn-success {
        font-size: 14px; /* Adjust the font size as needed */
        padding: 5px 10px; /* Adjust the padding as needed */
    }
}

.uniform-button {
    width: 100px; /* Set a fixed width for the buttons */
    height: 40px; /* Set a fixed height for the buttons */
    background-color: darkgray;
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    margin: 5px; /* Add some margin if needed */
}

    .uniform-button img {
        margin-right: 5px; /* Add some space between the icon and the text */
    }

/* Toggle switch styling */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: background-color 0.2s;
    border-radius: 50px;
}

    .slider:before {
        position: absolute;
        content: "";
        width: 16px;
        height: 16px;
        left: 4px;
        bottom: 4px;
        background-color: #fff;
        transition: transform 0.2s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider:before {
        transform: translateX(16px);
    }

/* Add ON/OFF text inside the toggle switch */
.slider:after {
    content: '24';
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    font-size: 12px;
    font-weight: bold;
}

input:checked + .slider:after {
    content: '12';
    left: auto;
    right: 5px;
}
