/* JSA Pupillage Manager - Public Styles */

.jsa-pupillage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.jsa-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.jsa-card h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #0a5f7f;
    padding-bottom: 10px;
}

.jsa-card h3 {
    color: #0a5f7f;
    margin-top: 20px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-row input[type="checkbox"] {
    margin-right: 8px;
}

.form-row small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.jsa-button {
    background: #0a5f7f;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.jsa-button:hover {
    background: #1a8fb0;
}

.jsa-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.jsa-table th,
.jsa-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.jsa-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.jsa-table tr:hover {
    background: #f9f9f9;
}

.jsa-status-pending {
    color: #ff9800;
    font-weight: 500;
}

.jsa-status-accepted {
    color: #4caf50;
    font-weight: 500;
}

.jsa-status-rejected {
    color: #f44336;
    font-weight: 500;
}

.jsa-status-shortlisted {
    color: #2196f3;
    font-weight: 500;
}

.jsa-status-passed {
    color: #4caf50;
    font-weight: 500;
}

.jsa-status-failed {
    color: #f44336;
    font-weight: 500;
}

.jsa-notifications {
    list-style: none;
    padding: 0;
}

.jsa-notifications li {
    padding: 15px;
    border-left: 3px solid #0a5f7f;
    background: #f9f9f9;
    margin-bottom: 10px;
}

.jsa-notifications li.unread {
    background: #e3f2fd;
    border-left-color: #2196f3;
}

.jsa-exam-card {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.exam-details {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .jsa-pupillage-container {
        padding: 10px;
    }
    
    .jsa-card {
        padding: 15px;
    }
    
    .jsa-table {
        font-size: 12px;
    }
    
    .jsa-table th,
    .jsa-table td {
        padding: 8px;
    }
}
