/* PROFILE SECTION */

.profile-section {
    margin-top: 20px;
    font-size: 14px; /* Decreased font size for a more compact look */
}

/* Styles for the table */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px; /* Reduced top margin for compactness */
}

/* Two-column layout */
.profile-table tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px; /* Adjusted vertical margin for compactness */
}

.profile-table th,
.profile-table td {
    border: 1px solid #ddd;
    padding: 8px;
    flex-basis: calc(50% - 10px); /* Each column takes 50% minus the margin */
    word-wrap: break-word;
    text-transform: uppercase;
    font-weight: bold;
}

.profile-table th {
    background-color: #f2f2f2;
    text-align: left;
    font-weight: bold;
}

.profile-table td img {
    max-width: 100%;
    height: auto;
}

/* Styles for section title */
.section-title {
    font-size: 20px; /* Decreased section title font size */
    margin-bottom: 10px;
}

/* Styles for input fields, select, textarea, and button */
.input-field,
.profile-table select,
.profile-table textarea,
.profile-table button,
.profile-table input {
    width: 100%;
    padding: 8px; /* Decreased padding for compactness */
    border: 1px solid #ddd;
    resize: vertical;
    margin-bottom: 5px; /* Adjusted vertical margin for compactness */
}

.profile-table button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    padding: 10px; /* Adjusted button padding for compactness */
}

/* Media Query for Responsive Design */
@media (max-width: 768px) {
    .profile-table th,
    .profile-table td {
        text-transform: uppercase;
        padding: 3px; /* Reduce padding for smaller screens */
    }

    .profile-table button {
        padding: 8px; /* Adjust button padding for smaller screens */
    }
}
