/* SSOW Modal Styles */
.ssow-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1056;
}

.ssow-modal {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ssow-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #004d4d;
    color: #ffffff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.ssow-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.ssow-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

.ssow-modal-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ssow-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

body.ssow-modal-open {
    overflow: hidden;
}

/* Form Styles */
.ssow-form-column, .ssow-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    border: 1px solid #004d4d;
    padding: 1rem;
    border-radius: 4px;
}

.form-section h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #004d4d;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.info-box {
    background-color: #f2f2f2;
    padding: 1rem;
    border-radius: 4px;
}

.info-box h3 {
    margin-top: 0;
    color: #004d4d;
}

.schedule-box {
    background-color: #004d4d;
    color: #ffffff;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.agreement-section .form-check {
    margin-bottom: 0.5rem;
}

.submit-btn {
    background-color: #004d4d;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ssow-modal-body {
        grid-template-columns: 1fr;
    }
}
