/* Login Modal Styles - Shared across all ticket pages */
.login-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-modal-overlay.active {
    display: flex;
}

.login-modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    margin: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0;
}

.login-modal-header h2 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.login-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.login-modal-body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.login-modal-body .form-group {
    margin-bottom: 20px;
}

.login-modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.login-modal-body input[type="text"],
.login-modal-body input[type="email"],
.login-modal-body input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-modal-body input:focus {
    outline: none;
    border-color: #026cd6;
}

.login-modal-body .btn-login {
    width: 100%;
    padding: 14px;
    background: #026cd6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.login-modal-body .btn-login:hover {
    background: #0256b0;
}

.login-modal-body .modal-links {
    text-align: center;
    margin-top: 20px;
}

.login-modal-body .modal-links a {
    color: #026cd6;
    text-decoration: none;
    font-size: 14px;
}

.login-modal-body .modal-links a:hover {
    text-decoration: underline;
}

.login-part,
.signup-part,
.forgot-part {
    display: none;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
}

.login-part.active,
.signup-part.active,
.forgot-part.active {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Checkbox styling */
.login-modal-body .checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-modal-body .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.login-modal-body .checkbox-group label {
    margin: 0;
    font-weight: normal;
    font-size: 14px;
}

/* Form row for side-by-side fields */
.login-modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.login-modal-body .form-row .form-group {
    margin-bottom: 0;
}

/* Select styling */
.login-modal-body select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.login-modal-body select:focus {
    outline: none;
    border-color: #026cd6;
}

/* Phone input group */
.login-modal-body .phone-input-group {
    display: flex;
    gap: 8px;
}

.login-modal-body .phone-input-group select {
    width: 90px;
    flex-shrink: 0;
}

.login-modal-body .phone-input-group input {
    flex: 1;
}

/* Date input styling */
.login-modal-body input[type="date"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-modal-body input[type="date"]:focus {
    outline: none;
    border-color: #026cd6;
}

/* Responsive for small screens */
@media (max-width: 480px) {
    .login-modal-body .form-row {
        grid-template-columns: 1fr;
    }
}
