.profile-section {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
.profile-section p{
    margin: 0;
}
.profile-section input{
    padding: 5px;
    border-radius: 0;
    border: 1px solid black;
    box-sizing: border-box;
    min-height: 20px;
}
.form-description {
    font-size: 12px;
}

.my-profile-button {
    background-color: black !important;
    border: 1px solid black !important;
    padding: 8px 16px !important;
    color: #fff !important;    
    margin-right: 8px !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.new-id-image-button{
    background-color: #6f6f6f !important;
    border: 1px solid #6f6f6f !important;
}

.clear-signature-button {
    background-color: #6f6f6f !important;
    border: 1px solid #6f6f6f;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    color: white;
    width: 100%;
}

.id-wrapper {
    padding-bottom: 10px !important;
}

.my-profile-id-image {
    width: 50%;
    max-height: 300px;
    object-fit: cover;
    margin: 10px 0 !important;
}

.signature-wrapper {
    padding-bottom: 20px !important;
}

.remove-document,
.remove-new-certificate,
.remove-new-insurance,
.remove-certificate {
    background-color: unset !important;
    border: unset !important;
    padding: 3px 11px !important;
    font-size: 14px !important;
    color: red;
    border-radius: 0 !important;
    height: 30px;
}

.my-profile-certificate-input-label {
    /* the button to select file */
    background-color: #3db2ff !important;
    width: 100%;
    text-align: center;
    height: 100%;
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    border: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .my-profile-certificate-input-label {
        width: 45%;
    }

    .my-profile-id-image {
        width: 100%;
    }
}

/* Certificate Row Styling */
.certificate-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px;
    background: #ffffff !important;
}

.my-profile-header {
    margin: 0 0 10px 0 !important;
}

#training-certificates {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

#training-certificates th {
    color: white !important;
}

#training-certificates th:last-child,
#training-certificates td:last-child {
    width: 1%; /* Keep the column as narrow as possible */
    white-space: nowrap; /* Prevent text from wrapping */
    text-align: center; /* Center the button */
}

#training-certificates th,
#training-certificates td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#training-certificates thead {
    background: #3db2ff;
    color: #ffffff;
}

#training-certificates tbody tr td {
    vertical-align: middle;
}

#training-certificates th {
    color: black;
}

#training-certificates tbody tr:nth-child(even) {
    background: #f9f9f9;
}

#training-certificates tbody tr:hover {
    background: #f1f1f1;
}

/* Insurance documents section */
#insurance-documents {
    width: 100%;
    border-collapse: collapse;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
#insurance-documents th{
    color: white !important;
}

#insurance-documents th:last-child, 
#insurance-documents td:last-child {
    width: 1%; /* Keep the column as narrow as possible */
    white-space: nowrap; /* Prevent text from wrapping */
    text-align: center; /* Center the button */
}

#insurance-documents th,
#insurance-documents td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#insurance-documents thead {
    background: lightgrey;
    color: black;
}
    #insurance-documents th{
    color:black ;
}

#insurance-documents tbody tr td {
   vertical-align: middle;
}

#insurance-documents tbody tr:nth-child(even) {
    background: #f9f9f9;
}

#insurance-documents tbody tr:hover {
    background: #f1f1f1;
}
.remove-document:hover {
    background: #a00;

}
.insurance-buttons-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 15px !important;

}

.profile-section-wrapper{
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#business_name{
    width: 100% !important;
}

.profile-field-label{
    font-size: 14px;
}

.my-profile-id-image{
    margin: 0 !important;
}

.profile-tab-form h3{
    margin: 30px 0 5px 0 !important; 
}
.signature-wrapper h3{
        margin: 30px 0 5px 0 !important; 
}
#insurance-documents th{
    background-color: white !important;
    color: black !important;
    font-size: 16px;
    font-weight: 400;
}
#insurance-documents a{
    font-size: 14px;
}