body{
    background-color: #F4F9FF;
    font-family: Roboto, sans-serif;
    font-size: 15px;
}
header {
    border: none;
    background-color: ghostwhite;
    display: inline-block;
    width: 100%;
}
.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background-color: #f3f3f3;
}
a {
    font-size: x-large;
}
.logoutButton{
    float: right !important;
}
.menu li {
    float: left;
}

.menu li a {
    display: block;
    color: #666;
    text-align: center;
    padding: 2px 19px;
    text-decoration: none;
}

.menu li a:hover:not(.active) {
    background-color: #ddd;
}

.menu li a.active {
    color: white;
    background-color: #4CAF50;
}

#logo{
    border: none;
    width: 10%;
    float: left;
}
#sideMenu {
    border: none;
    list-style: none;
}
#mainMenu {
    border: none;
    display: inline-block;
    padding: 1%;
    width: 88%;
    float: right;
}
button {
    border: none;
    background: none;
    text-decoration: none;
    font-size: x-large;
    margin-right: 5%;
}
.buttonPlain {
    border: 1px solid;
    background: lightgrey;
    text-decoration: initial;
    font-size: medium;
    margin-right: 0;
    padding: 10px;
    border-radius: 10px;
}
button:hover{
    background-color: yellow;
}
html, body {
    height: 100%;
    margin: 0;
}
#mainBodyContainer{
    display: flex;
    flex-direction: column;
    height: 94vh; /* Full height of the viewport */
    padding: 10px;
    background-color: #F4F9FF;
    gap: 2px;
    box-sizing: border-box;
}
#mainSide {
    /*width: 250px; !* Set the width for the sidebar *!*/
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    border: solid 1px;
    text-align: center;
    background-color: white;
}
#mainPageData{
    flex-grow: 1; /* This will take the remaining space */
    border-radius: 10px;
    box-sizing: border-box;
    /*border: solid 1px;*/
    /*background-color: white;*/
    text-align: center;
}
#contentContainer {
    display: flex; /* Flexbox for sidebar and main content */
    flex-grow: 1; /* Allow the content to grow */
    gap: 10px; /* Space between the two main divs */
}
#mainMenuList{
    list-style: none;
    display: flex;
    font-size: 20px;
    color: ghostwhite;
    padding: 2px;

}
.topMenuButton{
    font-size: 20px;
    border: none;
    background-color: white;
    cursor: pointer;
}
.subMenuButton{
    font-size: 17px;
    border: none;
    background-color: white;
    cursor: pointer;
}
.sideMenuButton{
    font-size: 20px;
    border: none;
    background-color: white;
    color: darkblue;
}
ul {
    list-style: none;
    padding: 0;
}
details {
    width: 100%; /* Ensure full width */
    position: relative;
}
details[open] summary p{
    color: cadetblue; /* Background color when clicked/expanded */
}
summary {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    height: 40px;
}
/* Remove default marker (caret) */
summary::-webkit-details-marker {
    display: none;
}

/* Custom caret on the right */
summary::after {
    content: '►'; /* Caret icon */
    margin-left: auto; /* Push caret to the far right */
    padding-left: 10px;
}

/* Change caret direction when details is open */
details[open] summary::after {
    content: '▼'; /* Caret icon when open */
}
/* Indent the expanded content */
details .subItem {
    margin-left: 20px; /* Indentation (adjust as needed) */
    padding-left: 20px;
}
.subMenuButton:focus {
    color: cadetblue; /* Change background of sub-items */
}
footer{
    background-color: #f4f4f4; /* Example footer background */
    border-radius: 0 0 10px 10px; /* Rounded corners at the bottom */
    padding: 10px; /* Padding inside the footer */
    border: none;
    text-align: center;
}
#pageData{
    /*width: 100%;*/
    /*height: 83vh;*/
}
.cytFrame{
    border: none;
    width: 98%;
    height: 100%;
    background-color: white;
}
#mainIframe{
    width: 100%;
    height: 100%;
    background-color: white;
}
/*.menuContainer{*/
/*    margin-left: 20%;*/
/*}*/

.noBoxframe{
    border: none;
    width: 100%;
    height: 100%;
    min-height: 300px;
}
.showListFrame {
    border: none;
    width: 100%;
    height: 55%;
}
.addShowIframe{
    border: none;
    width: 100%;
    height: 100%;
}
.showURLBox{
    display: none;
}
.status-message {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 165, 0, 0.9); /* Green background with slight transparency */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    display: none; /* Hidden by default */
    z-index: 9999; /* Ensure it's always on top */
    opacity: 1;
    transition: opacity 1s ease-out; /* Smooth fade-out effect */
}
#adminShowsListBox{
    border-radius: 10px;
    /*border: solid 1px;*/
    margin: 1%;
    /*background-color: white;*/
    padding: 1%;
}
.showDatesEditTable{
    width: 100%;
}
#addShowContainer{
    /*margin: 1%;*/
    /*padding: 1%;*/
    display: flex;
    /*justify-content: space-between; !* To space the boxes out evenly *!*/
    width: 100%;; /* Makes the form take up its container width */
    height: 100%;
    flex-direction: column;
}
#addShowForm{
    border-radius: 10px;
    border: solid 1px;
    margin: 1%;
    background-color: white;
    padding: 1%;
    display: flex;
    flex-direction: column;
    /*justify-content: space-between; !* To space the boxes out evenly *!*/
    width: 96%; /* Makes the form take up its container width */
    height: 335px;
}
#showBoxes{
    display: flex;
    justify-content: space-between; /* Ensures boxes are side by side and spread out */
    width: 100%; /* Take the full width of the parent */
}
#showBoxWithType{
    flex: 1; /* Each box will take equal space */
    margin: 5px; /* Optional: Add spacing between the boxes */
}
#showBoxWithName{
    flex: 1; /* Each box will take equal space */
    margin: 5px; /* Optional: Add spacing between the boxes */
}
#showBoxWithLocation{
    flex: 1; /* Each box will take equal space */
    margin: 5px; /* Optional: Add spacing between the boxes */
}
#showName{
    width: 400px;
}
#seatPrice{
    width: 100px;
}
#seatPriceShowDate{
    width: 100px;
}
#handFee{
    width: 100px;
}
#handFeeShowDate{
    width: 100px;
}
#showBoxButtons{
    text-align: center;
    margin-top: auto; /* Pushes the buttons to the bottom of the form */
    padding: 10px; /* Optional: Add padding around the buttons */
    text-align: center; /* Center the buttons */
}

#addShowDateForm{
    border-radius: 10px;
    border: solid 1px;
    margin: 1%;
    background-color: white;
    padding: 1%;
    height: 100%;
}
#showDatesBoxes {
    display: flex;
    justify-content: space-between; /* Ensures boxes are side by side and spread out */
    width: 100%; /* Take the full width of the parent */
}
#showDateFormLeft{
    flex: 1; /* Each box will take equal space */
    margin: 5px; /* Optional: Add spacing between the boxes */
    height: 80%;
}
#showDateFormRight{
    flex: 1; /* Each box will take equal space */
    margin: 5px; /* Optional: Add spacing between the boxes */
    height: 80%;
}

#comboBox{
    display: none;
    gap: 5px;
    padding: 2%;
}
#comboBoxSD{
    display: none;
    gap: 5px;
    padding: 2%;
}
#showMaxContainer{
    display: none;
    gap: 5px;
    padding: 2%;
}
#showPricesBox{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 100%; /* Makes the form take up its container width */
    height: 100%;
    gap: 30px;
}
#seatHandBlock{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 100%; /* Makes the form take up its container width */
    gap: 30px;
}
#showDatesImagesBlock{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 100%; /* Makes the form take up its container width */
    gap: 30px;
}
#dateTimeBlock{
    display: flex;
    /*justify-content: space-between; !* To space the boxes out evenly *!*/
    width: 90%; /* Makes the form take up its container width */
    gap: 30px;
    height: 67px;
}
#showImageBox{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 70%; /* Makes the form take up its container width */
    gap: 30px;
    height: 140px;
}
#locationBox{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 90%; /* Makes the form take up its container width */
    gap: 30px;
}
#buttonsBox{
    width: 100%;
    text-align: right;
}
.adminSubButtons{
    margin-left: 2%;
    margin-right: 2%;
}
#showDatesButtonsBox{
    justify-content: space-between;
    width: 100%;
    display: flex;
}
#showDatesButtonsContainer{
    display: flex;
    gap: 16px;
    height: 20%;

}
#showDatesButtonsEach{
    position: relative;
    width: 180px;
    height: 100px;
    top: 75px;
    padding: 1%;
}
#maxNoText{
    width: 60px;
}
input[type="file"] {
    display: none; /* Hide the default file input */
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.file-selected {
    margin-top: 10px;
}
.filePoster-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.filePoster-selected {
    margin-top: 10px;
}
#showNameBox{
    display: flex;
    justify-content: space-between; /* To space the boxes out evenly */
    width: 91%; /* Makes the form take up its container width */
    height: 100%;
    gap: 30px;
}
.fullIframe{
    width: 100%;
    height: 95vh;
    border: none;
    overflow: scroll; !important;
}
.dataIframe{
    width: 100%;
    border: none;
    overflow: scroll; !important;
}
#upload-container {
    width: 220px;
    /*margin: 0 auto;*/
    /*padding: 20px;*/
    /*border: 1px solid #ccc;*/
    /*text-align: center;*/
}

.progress-container {
    width: 100%;
    height: 30px;
    background-color: ghostwhite;
    position: relative;
    display: none;
}

#progress-bar {
    width: 0;
    height: 100%;
    text-align: center;
    line-height: 30px;
    color: black;
}
.progress{
    width: 0;
    height: 100%;
    text-align: center;
    line-height: 30px;
    color: black;
}
.errorMessage{
    color: coral;
}
#titles li {
    display: inline;
    padding: 0 16px 0 0;
}
.inlineClass {
    display: inline;
}
.flexClass {
    display: flex;
}
/* Styles for the popover container */
.popover-container {
    position: relative;
    display: inline-block;
}

/* Styles for the popover content */
.popover-content {
    display: none;
    position: absolute;
    z-index: 1;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    min-width: 200px;
}

/* Styles for the button that triggers the popover */
.popover-trigger {
    cursor: pointer;
}
.adminEdit {
    border: 2px solid;
    background-color: lightgoldenrodyellow;
    padding: 1%;
}
/* Add the CSS styling here */
.checkContainer {
    height: 15%;
    overflow-x: auto;
    white-space: nowrap; /* Prevent content from wrapping */
    display: inline-block; /* Make the container width fit its content */
}
/*.listContainer {*/
/*    height: 15%;*/
/*    overflow-x: auto;*/
/*    white-space: nowrap; !* Prevent content from wrapping *!*/
/*    display: inline-block; !* Make the container width fit its content *!*/
/*    padding: 0 16px 0 0;*/
/*}*/
.listContainer {
    flex: 1;
    padding: 0 16px 0 0;
    white-space: nowrap;
}

.checkContent {
    /*width: auto;*/
    /* Additional styling for the content */
}
#itemList {
    display: flex;
    flex-wrap: wrap;
}

#itemList > div {
    flex: 1;
    box-sizing: border-box;
    padding: 10px; /* You can adjust the padding as needed */
}
.itemRow{
    display: flex;

}
.table {
    display: flex;
    flex-direction: column;
    width: max-content; /* Adjust to your needs */
}

.row {
    display: flex;
}
.header-cell {
    /*border: 1px solid #000;*/
    padding: 8px;
    width: 132px;
    box-sizing: border-box; /* Include padding in total width calculation */
    word-wrap: break-word;
    font-weight: bold;
}
.cell {
    /*border: 1px solid #000;*/
    padding: 8px;
    width: 132px;
    flex: 1;
    box-sizing: border-box; /* Include padding in total width calculation */
    word-wrap: break-word;
}
.classCells {
    /*border: 1px solid #000;*/
    padding: 8px;
    /*width: 120px;*/
    flex: 1;
    box-sizing: border-box; /* Include padding in total width calculation */
    word-wrap: break-word;
}
.adminInput {
    width: 200px;
}
#cc {
    width: 150px;
}
.selectClass {
    height: 20px;
}
.tox-promotion-link{
    display: none;
}
.phone{
    width: 50px;
    border: none;
}
.phone2{
    width: 65px;
    border: none;
}
.phoneContainer{
    display: inline-block;
    border: solid black 1px;
    background-color: white;
}
#address {
    width: 55%;
}
#email {
    width: 55%;
}
#city{
    width: 28%;
}
#state {
    width: 4%;
}
#zip {
    width: 9%;
}
input{
    font-size: large;
    -webkit-border-radius: 10px;
}
textarea{
    font-size: x-large;
}
#amount{
    width: 9%;
}
label{
    font-size: large;
}
.cell input {
    width: 100px;
}
.editSubButtons{
    height: 30px;
}
#refund {
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    /*background-color: white;*/
    /*opacity: .5;*/
}
#refundContainer {
    width: 640px; /* Can be in percentage also. */
    height: auto;
    margin: 0 auto;
    padding: 10px;
    position: relative;
}
#refundAmount {
    top: 200px;
    width: 300px; /* Can be in percentage also. */
    height: auto;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    background-color: red;
    text-align: center;
    color: white;
    font-size: large;
    /*opacity: 1.0;*/
    z-index: 999999999999999999;
}
.tdLists {
    padding: 8px;
}
.tdListsFirstColumn{
    padding: 8px;
    padding-left: 16px;
}
.hidden{
    display: none;
}
.tableHead {
    position:sticky;
    top:0;
    z-index:1;
    border-top:0;
    background: #ededed;
}
.searchList:nth-child(odd){
    background-color: #ecf5f2;

}
.searchList {
    border-bottom: 1px solid black;
    padding: 5px;
}
.castCrewInfo{
    font-size: x-large;
    border-bottom: 1px solid black;
    display: flex;
}
.castCrewTicketData:nth-child(odd){
    background-color: #f2f2f2;
}
.castCrewTicketButtons{
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-width: 440px;
}
.castCrewTicketData{
    display: flex;
    /*flex-direction: row;*/
    border-bottom: 1px solid black;
    /*width: 100%;*/
    gap: 20px;
    padding: 5px;
}
.seatInfoButtons{
    display: flex;
    flex-direction: column;
    gap: 4px; /* Space between items inside seatInfoButtons */
    font-size: medium;
    flex: 2;
    min-width: 400px;
}
.castCrewTicketShowImageDiv{
    width: 10%;
    height: 10%;
}
.castCrewTicketShowImage{
    width: 100%;
    height: 100%;
}
.castCrewTicketSeatInfo{

}
.showInfoList{
    font-size: medium;
}
.payInfoList{
    font-size: medium;
}

#modifyRefundContainer {
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
}
#modifyRefundDataContainer {
    /*width: 640px; !* Can be in percentage also. *!*/
    height: 500px;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    background-color: white;
    color: black;
    z-index: 99999999999999;
}
#seatDataList {
    height: 400px;
    padding: 10px;
    position: relative;
    background-color: white;
    text-align: center;
    color: black;
    font-size: large;
    /*opacity: 1.0;*/
    z-index: 999999999999999999;
    overflow: auto;
}
.cartModItem{
    width: 97%;
    display: flex;
    text-align: center;
    justify-content: space-between;
    gap: 5px
}

.custom-checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

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

.checkmark {
    width: 55px;
    height: 25px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    user-select: none;
    color: black;
}

.custom-checkbox input:checked + .checkmark {
    border-color: #ccc;
    color: black;
}

.custom-checkbox input:checked + .checkmark::before {
    content: 'R/E';
    color: #dc3545;
}
.cartItemExchange{
    flex: 1 1 auto;
    padding: 1%;
    font-size: large;
    /*flex-grow: 1; !* Allow the item div to grow *!*/
    /*overflow-y: auto; !* Enable vertical scroll when content overflows *!*/
    display: flex;
}
.custom-checkbox input:not(:checked) + .checkmark::before {
    content: 'Keep'; /

}
.seatItemModName{
    min-width: 70px;
}
.showDateModData{
    min-width: 70px;
}
.showNameModItem{
    min-width: 70px;
}
#cartModItemButtons{
    z-index: 99999999999999;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: space-between;
}
.cartPersonInfo{
    background-color: white;
    border: solid;
    font-size: medium;
}

#castCrewNameForm{
    display: flex;
    padding: .1%;
}
#castCrewAddressForm{
    display: flex;
}
#castCrewAddressPartsForm{
    display: flex;
}
#creditFormDisplay{
    display: flex;
}
#castCrewPhoneForm{
    display: flex;
}
#genderDob{
    display: flex;
}
#dob{
    width: 150px;
}
.saveButton{
    float: right;
    left: 120px;
    height: 80px;
    width: 80px;
    font-size: x-large;
    margin-right: 120px;
    background-color: aqua;
}
.saveButtonUpload{
    height: 80px;
    width: 80px;
    font-size: x-large;
    background-color: aqua;
}
/*#gender{*/
/*    height: 100%;*/
/*}*/
#roles{
    width:100%;
    display:grid;

    /* number of rows before starting next column */
    /*grid-template-rows: repeat(8, auto);*/

    /* fill down first instead of across */
    grid-auto-flow: column;

    gap:6px 20px;
    padding: 6px;
}

#roles label{
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;
    white-space:nowrap;
}

#roles input[type="checkbox"]{
    transform:scale(1.5);
}
#castCrewEmailForm{
    display: flex;
}
#emailLabel{
    flex: 3;
}
#editPersonForm{
    display: flex;
    gap: 15px;
}
.paddingFormElms{
    padding: 10px;
}
#notesBox{
    padding: 10px;
    float: left;
}
#zipEdit{
    width: 75px;
}
#sEmail{
    width: 421px;
}

.biosTable {
    border-collapse: collapse;
    width: 100%;
}

.biosTable th,
.biosTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.biosTable th {
    background: #f5f5f5;
}

.biosTable button {
    margin-right: 5px;
    padding: 6px 10px;
    cursor: pointer;
}

.uploadButton{
    display:inline-block;
    padding:8px 14px;
    background:#3498db;
    color:#fff;
    border-radius:6px;
    cursor:pointer;
    font-weight:bold;
}

.uploadButton:hover{
    background:#2980b9;
}

.hiddenFileInput{
    display:none;
}

#fileNameDisplay{
    margin-left:10px;
    font-size:14px;
}

/* Full-screen semi-transparent overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* The popup box itself */
.popup-content {
    background: #fff;
    width: 900px;
    max-height: 60vh;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Enable vertical scrollbar when content is too tall */
    position: relative;
    padding: 20px;
    left: 60px;
    top: 40px;
    text-align: center;
}
td{
    padding: 2px;
}

/* Close button in top-right corner */
.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Example trigger button */
#openPopupBtn {
    margin: 50px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.editableCell {
    cursor: pointer;
}

.editableCell:hover {
    background: #f5f5f5;
}

.editInput {
    width: 100%;
    box-sizing: border-box;
}

.biosTable a {
    color: #0066cc;
    text-decoration: underline;
}


/* Media query for smaller screens */
@media (max-width: 768px) { /* Adjust width as needed */
    #castCrewTicketButtons {
        flex-direction: column; /* Stack items in castCrewTicketButtons vertically */
        align-items: flex-start; /* Optional: Align items to the start for a clean stack */
    }
}

.auditionsPage {
    background: #F4F9FF;
    color: #000000;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
}

.auditionsPublicShell,
.auditionsAdminShell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1880px;
    padding: 24px 28px 60px;
}

.auditionsHeader,
.auditionPanelHeader {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.auditionsHeader > div:first-of-type {
    flex: 1 1 auto;
}

.auditionsHeaderActions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.auditionsLocationLogo {
    display: block;
    height: auto;
    max-height: 92px;
    max-width: 190px;
    object-fit: contain;
}

.auditionsHeader h1,
.auditionPanel h2 {
    font-size: 34px;
    line-height: 1.05;
    margin: 6px 0 18px;
}

.auditionsKicker {
    font-size: 18px;
    font-weight: 700;
}

.auditionPanel,
.auditionListItem {
    background: #ffffff;
    border: 2px solid #111111;
    border-radius: 12px;
    box-sizing: border-box;
}

.auditionPanel {
    margin: 22px 0;
    padding: 24px;
}

.auditionNotice,
.auditionError {
    border-radius: 10px;
    font-size: 18px;
    margin: 16px 0;
    padding: 14px 18px;
}

.auditionNotice {
    background: #e7f6ed;
    border: 2px solid #247a45;
}

.auditionError {
    background: #fff1f1;
    border: 2px solid #b00020;
}

.auditionError:focus {
    outline: 3px solid #111111;
    outline-offset: 3px;
}

.auditionButton,
.auditionForm button {
    background: #f6f6fb;
    border: 3px solid #8b8d98;
    border-radius: 12px;
    color: #000000;
    cursor: pointer;
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin: 4px;
    padding: 7px 11px;
    text-decoration: none;
}

.auditionButton:hover,
.auditionForm button:hover {
    background: #e9eef8;
}

.auditionButtonDisabled,
.auditionButtonDisabled:hover {
    background: #eeeeee;
    border-color: #b9b9b9;
    color: #666666;
    cursor: not-allowed;
}

.auditionList {
    display: grid;
    gap: 18px;
}

.auditionListItem {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    padding: 22px;
}

.auditionListItem h3,
.auditionFormHero h3 {
    font-size: 24px;
    margin: 0 0 10px;
}

.auditionListMedia img {
    height: auto;
    max-width: 120px;
}

.auditionImagePlaceholder {
    align-items: center;
    background: #f2f2f2;
    border: 1px solid #cccccc;
    color: #333333;
    display: flex;
    font-weight: 700;
    height: 120px;
    justify-content: center;
    text-align: center;
    width: 120px;
}

.auditionMetaGrid,
.auditionGrid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.auditionMetaGridLarge {
    grid-template-columns: 1fr;
    margin: 18px 0;
}

.auditionMetaGridTwo {
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    margin-top: 14px;
    max-width: 720px;
}

.auditionInfoBlock {
    border-top: 1px solid #d8d8d8;
    margin-top: 18px;
    padding-top: 16px;
    text-align: left;
}

.auditionInfoBlock h3,
.auditionForm h3,
.auditionForm h4 {
    margin: 8px 0;
}

.auditionFormPanel {
    border-color: #4c6674;
}

.auditionFormHero {
    align-items: stretch;
    background: #f5fbff;
    border: 2px solid #4c6674;
    border-radius: 8px;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(120px, 180px) minmax(320px, 1fr);
    margin-bottom: 20px;
    padding: 20px;
}

.auditionFormBrand {
    align-items: center;
    display: flex;
    gap: 16px;
}

.auditionFormShowImage {
    align-self: center;
    border: 1px solid #c8d3dc;
    max-height: 180px;
    max-width: none;
    object-fit: contain;
    width: 100%;
}

.auditionFormHeroDetails {
    align-self: center;
}

.auditionForm fieldset {
    border: 2px solid #111111;
    border-radius: 12px;
    margin: 22px 0;
    padding: 18px;
}

.auditionForm legend {
    font-size: 22px;
    font-weight: 700;
    padding: 0 10px;
}

.auditionForm label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.auditionInput,
.auditionTextarea {
    border: 3px solid #8b8d98;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 18px;
    padding: 8px;
    width: 100%;
}

.auditionTextarea {
    min-height: 96px;
}

.castCharactersEditor {
    margin: 18px 0;
    text-align: left;
}

.castCharactersEditor h3 {
    font-size: 22px;
    margin: 8px 0 10px;
}

.castCharactersTable,
.publicCharactersTable {
    background: #d2d6dc;
    border: 1px solid #c5cbd3;
    border-radius: 8px;
    display: grid;
    gap: 1px;
    overflow-x: auto;
    width: 100%;
}

.castCharactersHeader,
.castCharactersRow {
    background: #d2d6dc;
    display: grid;
    gap: 1px;
    grid-template-columns: 52px 52px minmax(190px, .8fr) minmax(260px, 1.25fr) minmax(260px, 1.1fr) 64px;
    min-width: 900px;
}

.castCharactersBody {
    display: grid;
    gap: 1px;
}

.castCharactersHeader {
    background: #ffffff;
    color: #111111;
    font-size: 18px;
    font-weight: 700;
}

.castCharactersHeader span,
.castCharactersRow > * {
    background: #ffffff;
    box-sizing: border-box;
    min-width: 0;
    padding: 10px;
}

.castCharactersRow {
    min-height: 64px;
}

.castCharactersRowDragging {
    opacity: .45;
}

.castCharactersHandle,
.castCharactersDelete {
    align-items: center;
    color: #7b8491;
    cursor: grab;
    display: flex;
    font-size: 24px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-height: 56px;
    padding: 0;
    width: 100%;
}

.castCharactersDelete {
    cursor: pointer;
    font-size: 26px;
}

.castCharactersHandle:hover,
.castCharactersDelete:hover {
    background: #f3f6f9;
}

.castCharactersNumber {
    align-items: center;
    display: flex;
    font-size: 22px;
    justify-content: flex-end;
}

.castCharactersCellInput {
    border: 0;
    box-sizing: border-box;
    font: inherit;
    line-height: 1.35;
    min-height: 52px;
    overflow: hidden;
    resize: none;
    width: 100%;
}

.castCharactersCellInput:focus {
    outline: 2px solid #79a7d8;
    outline-offset: -2px;
}

.publicCharactersHeader,
.publicCharactersRow {
    display: grid;
    grid-template-columns: minmax(170px, .8fr) minmax(240px, 1.25fr) minmax(240px, 1fr);
    min-width: 720px;
}

.publicCharactersHeader {
    background: #f3f6f9;
    font-weight: 700;
}

.publicCharactersHeader span,
.publicCharactersRow span {
    border-bottom: 1px solid #d2d6dc;
    border-right: 1px solid #d2d6dc;
    box-sizing: border-box;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 10px;
}

.publicCharactersHeader span:last-child,
.publicCharactersRow span:last-child {
    border-right: 0;
}

.publicCharactersRow:last-child span {
    border-bottom: 0;
}

.auditionSelectableCharactersHeader,
.auditionSelectableCharactersRow {
    grid-template-columns: 86px minmax(170px, .8fr) minmax(240px, 1.25fr) minmax(240px, 1fr);
    min-width: 820px;
}

.auditionSelectableCharactersRow > span:first-child {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.auditionSelectableCharactersRow > span:nth-child(2) {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.auditionSelectableCharactersRow input[type="checkbox"] {
    height: 22px;
    width: 22px;
}

.auditionRoleCheckboxGroup {
    border: 1px solid #d2d6dc;
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 14px;
}

.auditionRoleCheckboxTitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auditionRoleCheckbox {
    align-items: center;
    display: flex !important;
    font-size: 18px;
    gap: 10px;
    margin-bottom: 10px !important;
}

.auditionRoleCheckbox input[type="checkbox"] {
    flex: 0 0 auto;
    height: 22px;
    width: 22px;
}

.auditionRoleCheckbox span {
    overflow-wrap: anywhere;
}

.auditionCharacterChoiceGroup {
    display: grid;
    gap: 10px;
}

.auditionCharacterChoice {
    align-items: flex-start;
    border-bottom: 1px solid #e2e6ea;
    padding-bottom: 10px;
}

.auditionCharacterChoice:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.auditionCharacterChoiceText {
    display: grid;
    gap: 5px;
}

.auditionCharacterChoiceText span {
    font-weight: 400;
    line-height: 1.35;
}

.auditionInputFile {
    display: block !important;
    font-size: 16px;
    margin-top: 8px;
}

.auditionCheck {
    align-items: center;
    display: flex !important;
    gap: 12px;
}

.auditionCheck input[type="checkbox"] {
    height: 24px;
    width: 24px;
}

.auditionCheckInResumeToggle {
    align-items: center;
    cursor: pointer;
    display: flex !important;
    font-weight: 700;
    gap: 10px;
    margin: 8px 0 0 !important;
}

.auditionCheckInResumeToggle input {
    height: 22px;
    width: 22px;
}

.auditionFinePrint {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    margin: 6px 0 12px;
}

.auditionDerivedShowBox {
    background: #f7f7f7;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.4;
    margin: 14px 0;
    padding: 14px;
}

.auditionGridSmall {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
}

.auditionSkillRow {
    align-items: end;
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.auditionCreateGrid {
    align-items: end;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.auditionShowSelectField {
    grid-column: 1 / -1;
    max-width: 900px;
}

.auditionShowSelectField select,
.auditionCreateGrid select {
    border: 3px solid #8b8d98;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 18px;
    max-width: 100%;
    min-height: 42px;
    padding: 8px;
    width: 100%;
}

.auditionCreateGrid input[type="date"],
.auditionCreateGrid input[type="datetime-local"],
.auditionCreateGrid input[type="text"] {
    min-height: 42px;
}

.auditionExperienceRow {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    margin-bottom: 10px;
}

.auditionExperienceRowFour {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.auditionFormButtons {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.auditionSubmitStatus {
    background: #f7fbff;
    border: 2px solid #205493;
    border-radius: 10px;
    box-sizing: border-box;
    color: #111111;
    max-width: 520px;
    padding: 12px;
    text-align: left;
    width: 100%;
}

.auditionSubmitStatusText {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auditionSubmitProgress {
    background: #d9e2ef;
    border-radius: 999px;
    height: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.auditionSubmitProgress span {
    background: #205493;
    display: block;
    height: 100%;
    transition: width 0.2s ease;
    width: 0;
}

.auditionSubmitProgressIndeterminate span {
    animation: auditionProgressSweep 1.1s ease-in-out infinite;
    position: absolute;
}

@keyframes auditionProgressSweep {
    0% {
        left: -45%;
        width: 45%;
    }

    50% {
        width: 65%;
    }

    100% {
        left: 100%;
        width: 45%;
    }
}

.auditionAdminList,
.auditionSubmissionList {
    display: grid;
    gap: 0;
    overflow-x: auto;
}

.auditionAdminRow,
.auditionSubmissionRow {
    border-bottom: 1px solid #111111;
    display: grid;
    gap: 14px;
    min-width: 980px;
    padding: 12px;
}

.auditionAdminRow {
    grid-template-columns: 1.3fr 1.3fr 1.2fr .6fr 1fr;
}

.auditionSubmissionRow {
    grid-template-columns: .8fr 1.1fr .9fr 1fr .9fr .6fr .8fr 1.2fr;
}

.auditionAdminHead {
    background: #f3f3f3;
    font-weight: 700;
    position: sticky;
    top: 0;
}

.auditionFilterForm,
.auditionStatusForm {
    align-items: center;
    display: flex;
    gap: 8px;
}

.auditionSearchLabel {
    display: grid;
    font-size: 15px;
    font-weight: 700;
    gap: 4px;
    min-width: 260px;
}

.auditionStatusForm {
    align-items: stretch;
    flex-direction: column;
}

.auditionCastingForm {
    display: grid;
    gap: 8px;
}

.auditionStatusForm .auditionInput {
    font-size: 16px;
}

.auditionStatusForm .auditionButton,
.auditionCastingForm .auditionButton {
    font-size: 16px;
}

.auditionCastingForm .auditionInput,
.auditionCastingForm .auditionTextarea {
    font-size: 16px;
    min-height: auto;
}

.auditionFileLink,
.auditionFileThumbLink,
.auditionViewFormButton {
    display: inline-block;
    margin: 0 0 8px;
}

.auditionFileThumb {
    border: 1px solid #8f9099;
    display: block;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.auditionViewFormButton {
    font-size: 16px;
    padding: 2px 8px;
}

.auditionCheckInButton {
    font-size: 16px;
}

.auditionCheckInPopover {
    border: 2px solid #111111;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
    box-sizing: border-box;
    display: none;
    max-width: min(420px, calc(100vw - 24px));
    padding: 18px;
    width: 420px;
}

.auditionCheckInPopover:popover-open {
    display: block;
}

.auditionCheckInPopover::backdrop {
    background: rgba(0, 0, 0, .24);
}

.auditionCheckInForm {
    display: grid;
    gap: 14px;
}

.auditionCheckInForm h3 {
    font-size: 22px;
    line-height: 1.15;
    margin: 0;
}

.auditionCheckInForm label {
    display: grid;
    font-size: 16px;
    font-weight: 700;
    gap: 6px;
}

.auditionCheckInActions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.auditionButtonSecondary {
    background: #ffffff;
}

.castingMenuShowName,
.castingMenuEmpty {
    font-size: 14px;
    margin: 4px 8px 10px;
    text-align: left;
}

.castingMenuItem .subMenuButton {
    text-align: left;
    white-space: normal;
    width: 100%;
}

.castingReviewShell {
    max-width: none;
    padding-top: 10px;
}

.castingReviewTop h2 {
    font-size: 26px;
    margin-bottom: 6px;
}

.castingReviewTop {
    padding: 10px 14px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.castingReviewIdentity {
    align-items: center;
    display: flex;
    gap: 10px;
    text-align: left;
}

.castingReviewHeadshot {
    border: 1px solid #8b8d98;
    display: block;
    height: 64px;
    object-fit: cover;
    width: 64px;
}

.castingSummaryBlock {
    border-top: 1px solid #d8d8d8;
    margin-top: 8px;
    padding-top: 8px;
    text-align: left;
}

.castingSummaryBlock h3,
.castingResumePane h3 {
    font-size: 18px;
    margin: 0 0 5px;
}

.castingSummaryBlock p,
.castingNoteSummary p {
    margin: 3px 0;
}

.castingNoteSummary {
    border-bottom: 1px solid #eeeeee;
    padding: 5px 0;
}

.castingNoteSummary span {
    color: #555555;
    display: inline-block;
    font-size: 13px;
    margin-left: 8px;
}

.castingSplit {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(360px, 1.2fr) minmax(320px, .8fr);
    height: calc(100vh - 230px);
    min-height: 520px;
}

.castingMediaPane,
.castingNotesPane {
    background: #ffffff;
    border: 2px solid #111111;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 14px;
}

.castingMediaPane {
    overflow-y: auto;
}

.castingNotesPane {
    overflow-y: auto;
}

.castingPdfFrame {
    border: 1px solid #8b8d98;
    box-sizing: border-box;
    height: 640px;
    width: 100%;
}

.castingResumePane {
    border-top: 1px solid #d8d8d8;
    margin-top: 14px;
    padding-top: 14px;
}

.castingResumeFrame {
    border: 1px solid #8b8d98;
    box-sizing: border-box;
    height: 360px;
    width: 100%;
}

.castingNotesForm {
    display: grid;
    gap: 14px;
    text-align: left;
}

.castingNotesForm label,
.castingMarkupForm label {
    display: grid;
    font-size: 17px;
    font-weight: 700;
    gap: 6px;
}

.castingMarkupForm {
    border-top: 1px solid #d8d8d8;
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    text-align: left;
}

@media (max-width: 900px) {
    .auditionListItem,
    .auditionFormHero {
        grid-template-columns: 1fr;
    }

    .auditionListItem {
        display: block;
    }

    .auditionMetaGrid,
    .auditionGrid,
    .auditionCreateGrid,
    .auditionGridSmall,
    .auditionSkillRow,
    .auditionExperienceRow,
    .auditionExperienceRowFour {
        grid-template-columns: 1fr;
    }

    .auditionShowSelectField {
        max-width: none;
    }

    .auditionsHeader,
    .auditionPanelHeader {
        align-items: flex-start;
        flex-direction: column;
    }

    .auditionsHeaderActions {
        justify-content: flex-start;
    }

    .auditionSearchLabel,
    .auditionFilterForm {
        width: 100%;
    }

    .auditionCheckInActions {
        justify-content: stretch;
    }

    .auditionCheckInActions .auditionButton {
        flex: 1 1 140px;
    }

    .castingSplit {
        grid-template-columns: 1fr;
        height: auto;
    }

    .castingPdfFrame,
    .castingResumeFrame {
        height: 520px;
    }

    .castingReviewTop {
        position: static;
    }

    .castingReviewIdentity {
        align-items: flex-start;
    }

    .castingReviewHeadshot {
        height: 56px;
        width: 56px;
    }
}

/* Checked-in audition forms */
.checkedInListShell {
    max-width: 980px;
}

.checkedInShowPanel {
    padding: 18px 24px;
}

.checkedInShowForm {
    align-items: center;
    display: grid;
    gap: 8px 16px;
    grid-template-columns: auto minmax(220px, 1fr);
}

.checkedInShowForm label {
    font-size: 18px;
    font-weight: 700;
}

.checkedInToolbar {
    align-items: center;
    background: #f4f7fb;
    border: 2px solid #111;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 12px 16px;
}

.checkedInToolbarTop {
    position: sticky;
    top: 0;
    z-index: 5;
}

.checkedInPrintButton:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.checkedInPrintControls {
    align-items: center;
    display: flex;
    gap: 14px;
}

.checkedInResumeToggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 8px;
    white-space: nowrap;
}

.checkedInResumeToggle input {
    height: 24px;
    width: 24px;
}

.checkedInListPanel {
    padding: 0;
    overflow: hidden;
}

.checkedInSelectAllRow {
    background: #f3f3f3;
    border-bottom: 1px solid #777;
    font-weight: 700;
    padding: 12px 16px;
}

.checkedInSelectAllRow input,
.checkedInCheckbox input {
    height: 24px;
    width: 24px;
}

.checkedInRows {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
}

.checkedInListHeader {
    align-items: center;
    background: #fafafa;
    border-bottom: 1px solid #999;
    display: grid;
    font-weight: 700;
    gap: 16px;
    grid-template-columns: 32px 110px minmax(0, 1fr) 72px;
    padding: 9px 16px;
}

.checkedInRow {
    align-items: center;
    border-bottom: 1px solid #bbb;
    cursor: pointer;
    display: grid;
    gap: 16px;
    grid-template-columns: 32px 110px minmax(0, 1fr) 72px;
    min-height: 84px;
    padding: 10px 16px;
    width: 100%;
    box-sizing: border-box;
}

.checkedInRow:last-child {
    border-bottom: 0;
}

.checkedInRow:has(input:checked) {
    background: #eaf4ff;
}

.checkedInRowUnavailable {
    cursor: default;
    opacity: .58;
}

.checkedInNumber {
    font-size: 22px;
    font-weight: 800;
}

.checkedInName {
    font-size: 19px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.checkedInName small {
    display: block;
    font-size: 15px;
    font-weight: 400;
    margin-top: 4px;
}

.checkedInName .checkedInStageName {
    display: inline;
    font-size: inherit;
    margin: 0 0 0 4px;
}

.checkedInHeadshot img,
.checkedInNoPhoto {
    border: 1px solid #888;
    border-radius: 7px;
    box-sizing: border-box;
    display: grid;
    height: 64px;
    max-height: 64px;
    max-width: 64px;
    min-height: 64px;
    min-width: 64px;
    object-fit: cover;
    place-items: center;
    text-align: center;
    width: 64px;
}

.checkedInNoPhoto {
    background: #eee;
    color: #555;
    font-size: 12px;
}

.checkedInEmpty {
    margin: 0;
    padding: 24px;
}

@media (max-width: 600px) {
    .checkedInListShell {
        padding: 12px;
    }

    .checkedInListPage .auditionsHeader h1 {
        font-size: 28px;
    }

    .checkedInShowPanel {
        margin: 12px 0;
        padding: 14px;
    }

    .checkedInShowForm {
        grid-template-columns: 1fr;
    }

    .checkedInToolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .checkedInToolbar .auditionButton {
        margin: 0;
        min-height: 48px;
        width: 100%;
    }

    .checkedInPrintControls {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .checkedInResumeToggle {
        min-height: 44px;
    }

    .checkedInRow {
        gap: 10px;
        grid-template-columns: 28px 64px minmax(0, 1fr) 52px;
        padding: 10px;
    }

    .checkedInListHeader {
        display: none;
    }

    .checkedInNumber {
        font-size: 18px;
    }

    .checkedInName {
        font-size: 16px;
    }

    .checkedInHeadshot img,
    .checkedInNoPhoto {
        height: 48px;
        max-height: 48px;
        max-width: 48px;
        min-height: 48px;
        min-width: 48px;
        width: 48px;
    }
}
