/* Utilities */


.new_ticket {
    z-index: -999;
    max-width: 1000px;
    /*margin: 50px auto;*/
    margin-top:-44%;
    margin-left:25em;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    font-size: 2em;
    margin-bottom: 1.2em;
    margin-top: 0.6em;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 1em;
}

.form-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 0.8em;
}

button {
    background-color: #4caf50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/*button:hover {*/
/*    background-color: #45a049;*/
/*}*/
.nav-menu li {
    display: flex;
    align-items: center;
    gap: var(--normalGap);
    font-size: 1.1rem;
    padding: var(--normalGap);

}

.nav-icon {
    font-size: 1rem;
}

.brand-icon,
.nav-icon {
    width: 25px;
    height: auto;
}

.nav-menu li:hover {
    background: var(--hoverColor);
    cursor: pointer;
    z-index: 1;
}

.nav-bar a {
    color: var(--lightColor);
    z-index: 9999;
}
.nav-link{z-index: 9999;}
.nav-bar {
    /*display: none;*/
    /*text-align: center;*/
    display: flex;
    flex-direction: column;

    /*grid-template-rows: .8fr 7fr;*/
    background: #198754;
    color: var(--lightColor);
    width: 300px;
    height: calc(100vh - var(--headerHeight));

    position: sticky;
    z-index: -1;
}
#toggleOptions {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;

    /*align-items: center;*/
}
#toggleOptions input{
    left:-52% !important;

}
#toggleOptions label{margin-left: 20px;}
#toggleOptions label input{
    align-content: space-evenly !important;

}
#toggleOptions label input :hover{
   color: var(--hoverColor);
    margin-right: 1em;
}
label {
    position: relative;
    /*padding-left: 30px;*/
    cursor: pointer;
    display: block;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

input[type="radio"] {
    position: absolute;
    /*opacity: 0;*/
    cursor: pointer;
}

.custom-radio {
    /*position: absolute;*/
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #000000;
    border: 2px solid #3498db;
    border-radius: 50%;
    transition: background-color 0.3s;
}

input[type="radio"]:checked + .custom-radio {
    background-color: #3498db;
    border: 2px solid #3498db;
}

label:hover .custom-radio {
    background-color: #ddd;
}

label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.3s;
}

input[type="radio"]:checked + .custom-radio::before {
    /*transform: translate(-50%, -50%) scale(1);*/

    /*appearance: none;*/
    /*-webkit-appearance: none;*/
    border-radius: 50%;
    background: #e8e8e8;
    border: 3px solid #FFF;

    /* The outline will be the outer circle */
    outline: 1px solid #999;
}


#captchaImage {
    margin-top: 10px;
}


@media screen and (min-width:1240px) {
    .nav-bar {
        left: 0;
        top: 0;
        /* need to re-write appropriate code wrt reference features, i.e., javascript rules toggling and position */
    }

    .header-container {
        margin-left: calc(250px + .5rem);
        /* need to re-write appropriate code wrt reference features, i.e., javascript rules toggling and position */
    }

    .search-bar {
        max-width: 33%;
    }

    main {
        margin-left: calc(250px + 3rem);
        /* need to re-write appropriate code wrt reference features, i.e., javascript rules toggling and position */
    }
}