/* Style for label elements */

h2
{
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    background-color: rgba(0, 123, 200, 1);
    color: white;
    padding: 10px;
}
form{
    font-family: 'Open Sans', sans-serif;
    padding: 10px;
    /*margin-top: 50%;*/
}
label
{
    font-weight: bold;
}

body
{
    /* overflow-y: hidden; */
}
#fields {
    border: none;
    /* min-height: 300px;
    min-width: 327px; */
    /* width: 10vw; */
    /* float: left; */
    /* Adjust later */
    /* overflow-x: auto; */

}

label {
    font-size: 12px;
    display: block;
    margin-bottom: 0.5rem;
    margin-inline-start: 0.2rem;
    text-transform: uppercase;

}

select {
    display: inline-block;
    font-weight: bold;
    width: 50%;
    padding: 0.5rem;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background-color: #fff;
}

input[type="text"] {
    display: block;
    width: 100%;
    height:12px;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    background-color: #fff;
    margin-right: 10px;
}

#row {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
}

.input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}


button {
    display: inline-block;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    cursor: pointer;
}

.dt-buttons {
    /* margin-bottom: -7px; */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}
.toggle-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 16px;
}

.toggle-switch {
    margin-left: 8px;
}

.toggle-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
}

.toggle-switch-input {
    display: none;
}

.toggle-switch-label {
    display: block;
    position: absolute;
    top: 0;
    /* left: 100px; */
    width: 60px;
    height: 27px;
    background-color: #ccc;
    border-radius: 1em;
    transition: background-color 0.3s ease-in-out;
}

.toggle-switch-input:checked + .toggle-switch-label {
    background-color: #007bff;
}

.toggle-switch-label::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 30px;
    height: 30px;
    border-radius: 1em;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.toggle-switch-input:checked + .toggle-switch-label::after {
    transform: translateX(26px);
    height:23px;
}

.tooltip-container {
    margin: 0%;
    width: 175px;
    position: relative;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.tooltip-content {
    z-index: 30000;
    position: absolute;
    top: 15px;
    calc(50% - 39px);
    width: 175px;
    padding: 10px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.2s, opacity 0.2s ease-out;
}

.tooltip-trigger-container:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.tooltip-trigger-container {
    position: relative;
    display: block;
}

.tooltip-trigger {
    font-size: 0.8em;
    width: 10px;
    height: 10px;
    line-height: 10px;
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
    color: #333;
    border: 2px solid #333;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}

.tooltip-trigger:hover {
    background-color: #333;
    color: #fff;
    z-index: 21602957;
}

.input-container input,
.input-container button {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bold;
}

.label-show-inactive{
    /* left: 67px; */
    position: relative;
}
