#tuition-request-form input,
#tuition-request-form textarea,
#tuition-request-form select {
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px 0;
  padding: 10px;
}

.tr-table { width: 100%; border-collapse: collapse; }
.tr-table th, .tr-table td { border: 1px solid #ddd; padding: 8px; vertical-align: top; }
.tr-table th { background: #f7f7f7; }

.tr-remarks { width: 100%; min-height: 70px; }
#tr-job-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.tr-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.tr-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    margin: 30px auto;
    background: white;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tr-modal-header {
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tr-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.tr-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.tr-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Style the job details table */
.tr-job-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.tr-job-details-table th,
.tr-job-details-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.tr-job-details-table th {
    width: 200px;
    font-weight: 600;
    color: #444;
}

.tr-job-details-table .empty {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .tr-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .tr-job-details-table,
    .tr-job-details-table tbody,
    .tr-job-details-table tr,
    .tr-job-details-table td {
        display: block;
        width: 100%;
    }
    
    .tr-job-details-table tr {
        margin-bottom: 15px;
    }
    
    .tr-job-details-table th::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        float: left;
        width: 40%;
    }
    
    .tr-job-details-table td::before {
        content: "";
        display: none;
    }
}