/* Table Styles for Qualifications */
.qualification-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.qualification-table th,
.qualification-table td {
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.qualification-table th {
    background-color: #f8fafc;
    text-align: left;
    font-weight: 600;
    color: #475569;
}

.qualification-table input[type="text"] {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 8px;
    border-radius: 4px;
}

/* Qualification separator styling */
.qualification-separator {
    background-color: #f8fafc;
    text-align: center;
    padding: 5px 0;
}

.separator-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #64748b;
}

.form-instruction {
    margin-bottom: 10px;
    color: #64748b;
    font-style: italic;
    font-size: 0.9rem;
}

.primary-qualification {
    background-color: #f0f9ff;
}

/* English Proficiency Table */
.proficiency-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.proficiency-table td {
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.proficiency-table input[type="text"] {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding: 8px;
    border-radius: 4px;
}

/* Add Qualification Button */
.add-qualification-btn-container {
    margin: 15px 0;
    text-align: right;
}

#add-qualification-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#add-qualification-btn:hover {
    background-color: #1557b0;
}

/* Remove Qualification Button */
.remove-qualification-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.remove-qualification-btn:hover {
    background-color: #c82333;
}

/* Additional field for the remove button */
.qualification-table th:last-child,
.qualification-table td:last-child {
    width: 40px;
    text-align: center;
}