/* Style for the custom login form */
.custom-login-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 24px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #004A6A;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    font-family: Arial, sans-serif;
}

.custom-login-header {
    color: #fff;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    text-align: center;
}

#loginform-custom p {
    padding-bottom: 0px;
    margin-bottom: 0px;
}

#loginform-custom label {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

#loginform-custom input[type="text"],
#loginform-custom input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

#loginform-custom input[type="submit"] {
    width: 100%;
    background-color: #FFB619;
    color: white;
    padding: 12px;
    border: 2px solid #FFB619;
    border-radius: 100px;
    cursor: pointer;
    font-size: 16px;
}

#loginform-custom input[type="submit"]:hover {
    background-color: #004A6A;
}

.page-ticket-info {
    margin-top: 50px;
}

.page-ticket-info h2 {
    margin: 0px !important;
}

.ticket-table {
    width:100%; 
    border-collapse: collapse;
    margin-bottom: 70px;
}

.ticket-table thead {
    background: #004A6A; 
    color: #fff;
}

.ticket-table th,
.ticket-table td {
    padding: 20px;
    vertical-align: middle;
}

.ticket-table td.status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-table td.icon {
    text-align: center;
}

.ticket-table tr.active-row {
    background: #F6F6F6;
}

.desktop-content-row .toggle-button svg {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.desktop-content-row.active-row .toggle-button svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}


.toggle-content-row {
    border-top: 1px solid rgba(170, 170, 170, 0.42);
    background: #F6F6F6;
}

.toggle-content-row td {
    padding: 28px 20px;
}

.image-gallery-list {
    display: flex; 
    flex-wrap: wrap; 
    gap: 20px;
}

.image-gallery-list p {
    font-size: 18px; 
    font-weight: 400;
    margin: 0px;
    padding: 0px;
}

.toggle-content-row .image-gallery-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 36px;
}

.image-gallery-header p {
    font-size: 24px; 
    font-weight: 400;
    margin: 0px;
    padding: 0px;
}

.download-all-btn,
.click-access-btn {
    background:#004A6A; 
    color:#fff !important; 
    padding: 15px 35px; 
    border-radius: 100px; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
}

.download-all-btn:hover svg {
    filter: brightness(0) saturate(100%) invert(0%) sepia(97%) saturate(37%) hue-rotate(84deg) brightness(106%) contrast(100%);
}

.download-all-btn:hover,
.click-access-btn:hover {
    background:#FFB619; 
    color:#fff !important; 
    text-decoration: none;
}

.request-again-btn {
    background:#FFB619; 
    color:#fff !important; 
    padding: 15px 35px; 
    border-radius: 100px; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 6px;
}

.request-again-btn:hover {
    background:#004A6A; 
    color:#fff !important; 
    text-decoration: none;
}

.contact-support-btn {
    background:#fff; 
    color:#000 !important; 
    border: 2px solid #000;
    padding: 13px 33px; 
    border-radius: 100px; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
}

.contact-support-btn:hover {
    background:#004A6A; 
    border: 2px solid #004A6A;
    color:#fff !important; 
    text-decoration: none;
}

.expired-btn {
    display: flex;
    gap: 10px;
}

.toggle-content-row .image-container {
    flex: 1 1 200px; 
    max-width: 200px;
    aspect-ratio: 31 / 21;
}

.image-container img {
    width:100%; 
    height:100%;
    object-fit: cover;
    display: block;
}

.mobile-content-row td {
    padding: 5px 0px !important;
}

.mobile-content-row .mobile-details {
    display: flex; 
    justify-content: space-between;
    width: 90vw;
}

.mobile-content-row .mobile-details p {
    font-size: 17px !important;
    line-height: normal !important;
    margin: 0px;
    padding: 20px 10px;
}

.mobile-content-row .mobile-details p.status {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 6px;
}

.mobile-content-row .mobile-details .title {
    background-color: #F3F3F3;
    font-weight: 600;
    width: 50%;
}

.mobile-content-row .mobile-details .info {
    text-align: right;
    width: 50%;
}

.mobile-content-row .mobile-btn {
    margin-top: 10px;
}

.mobile-content-row .mobile-view-btn {
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    background:#FFB619; 
    color:#000; 
    padding: 15px 35px; 
    border-radius: 100px; 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 


}.mobile-content-row .mobile-view-btn:hover {
    background:#004A6A; 
    color: #fff !important;
}

div#ticket-image-body {
    position: relative;
    max-width: 800px;
    margin: 5% 15px;
    background: #fff;
    padding: 20px 24px;
    height: 95vh;
}

button#ticket-image-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFB619;
    color: #fff;
    border: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 9;
}

#ticket-image-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    overflow: auto;
}

#ticket-image-wrapper .image-gallery-header p {
    font-size: 20px !important;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

#ticket-image-wrapper .download-all-btn,
#ticket-image-wrapper .click-access-btn {
    margin-bottom: 16px;
    width: 100%;
    justify-content: center;
}

#ticket-image-wrapper .request-again-btn,
#ticket-image-wrapper .contact-support-btn {
    width: 100%;
    justify-content: center;
}

#ticket-image-wrapper .expired-btn {
    display: grid;
    gap: 10px;
}

#ticket-image-wrapper .image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 200px;
    flex-shrink: 0;
}

#ticket-image-wrapper .image-gallery-list {
    display: flex;
    /* flex-direction: column; */
    gap: 40px;
    height: 72vh;
    overflow-y: auto;
    padding-right: 5px;
    box-sizing: border-box;
}

#gform-contact-wrapper {
	display:none; 
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100vw; 
	height: 100vh; 
    background: rgba(0,0,0,0.6); 
	z-index: 9999; 
	overflow: auto;
}

#gform-contact-body {
	position: relative; 
	max-width: 800px; 
	margin: 5% auto; 
	background: #fff; 
	padding: 23px 40px; 
	border-radius: 32px;
}

#gform-contact-close {
	position: absolute; 
	top: 18px; 
	right: 30px; 
	background: transparent; 
	color: #fff;
	border: none; 
	font-size: 32px; 
	cursor: pointer; 
	z-index: 9;
}

#gform-contact-close:focus {
	outline: none !important;
}

.gform-contact-title {
	background-color: #004A6A;
	color: #fff;
	padding: 15px 20px;
	border-top-left-radius: 32px;
	border-top-right-radius: 32px;
	margin: -23px -40px 23px -40px;
	text-align: center;
}

.gform-contact-title h4 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 0px !important;
}

input#gform_submit_button_3,
input#gform_submit_button_4 {
    width: 100%;
    background: #FFB619;
    border-radius: 100px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.mobile-content-row {
    display: none;
}

#message-popup.popup-modal {
    display: none; 
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

#message-popup .popup-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 32px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    text-align: center;
}

#message-popup .popup-content p{
    margin: 0px;
    padding: 0px;
}

#message-popup .popup-close {
    background: #FFB619;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

#message-popup .popup-close:hover,
#message-popup .popup-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .ticket-table thead,
    .desktop-content-row {
        display: none;
    }

    .mobile-content-row {
        display: block;
    }

    .page-ticket-info h2 {
        padding-left: 15px !important;
    }

    .contact-support-btn {
        margin-bottom: 16px;
    }

    #ticket-image-wrapper,
    #ticket-image-wrapper * {
        pointer-events: auto;
    }

    #gform-contact-wrapper {
        padding: 0 15px;
    }

}
@media only screen and (max-width: 45.5rem) {
    #legalsigning-field-signature__modal {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .legalsigning-field-signature__container {
        border-radius: 4px;
        display: block;
        max-height: 100vh;
        max-width: 715px;
        min-height: 0;
        position: static !important;
    }
}