select.show-placeholder,
select {
    border-bottom: 1px solid #000 !important;
    border: none;
}

#dobbb {
    /* jsut to demonstrate that some styles will be copied from the input to the dropdowns*/
    padding: 0.5em 1em !important;
}

input::placeholder,
select.show-placeholder,
select option:first-child {
    color: #000 !important;
}

select.show-placeholder option {
    color: #000 !important;
}

/* Display the dropdowns next to each other */
#date-select-wrapper {
    display: flex !important;
    max-width: 300px !important;
    /* just for this demo */
}

#date-select-wrapper > * {
    flex-grow: 1 !important;
    width: auto !important;
    margin: 0 !important;
}

.admission-form {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
input,
textarea,
select {
    text-transform: uppercase !important;
    font-size: small !important;
}
.form-header {
    display: flex;
    /* align-items: flex-start; */
    border-bottom: 3px solid #8b0000;
    padding-bottom: 15px;
    margin-bottom: 20px;
    gap: 20px;
    justify-content: space-between;
}

.header-logo-col {
    flex: 0 0 auto;
}

.header-credentials-col {
    flex: 1;
}

.header-contact-col {
    flex: 1;
}

.university-logo {
    width: 300px;
    height: 130px;
}

.university-info h2 {
    color: #8b0000;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.university-info p {
    margin: 2px 0;
    font-size: 12px;
    color: #666;
}

.form-title {
    background: #8b0000;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
}

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

.form-section h4 {
    background: #f0f0f0;
    padding: 8px;
    margin: 15px 0 10px 0;
    font-weight: bold;
    border-left: 4px solid #8b0000;
}

.form-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.form-row label {
    min-width: 100px;
    font-weight: 500;
}

.form-row input,
.form-row select,
input[type="text"],
input[type="date"] {
    flex: 1;
    padding: 5px;
    border: none;
    border-bottom: 1px solid #333;
    margin: 0 10px;
    text-align: center;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.checkbox-group label {
    min-width: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.instructions {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #8b0000;
}

.instructions h4 {
    margin-top: 0;
    color: #8b0000;
}

.form-number {
    float: right;
    font-weight: bold;
}

.image-upload-section {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    background: #f9f9f9;
}

.image-upload-section h4 {
    margin-bottom: 15px;
    color: #8b0000;
}

.upload-box {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    background: white;
    min-height: 120px;
    min-width: 100px;
    text-align: center;
}

.form-number-section {
    background: #f0f0f0;
    padding: 10px;
    margin: 20px 0;
    border-left: 4px solid #8b0000;
}

.three-column-row {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: flex-start;
}

.column {
    flex: 1;
}

.column.instructions-col {
    flex: .9;
}

.column.form-details-col {
    flex: 0.8;
}

.column.image-col {
    flex: 0.5 !important;
}

.form-details-section {
    background: #f0f0f0;
    padding: 15px;
    border-left: 4px solid #8b0000;
    height: 100%;
}

.form-details-section .form-row {
    margin-bottom: 15px;
}

.instructions.in-row {
    margin-bottom: 0;
    height: 100%;
}

.image-upload-section.in-row {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

canvas {
    height: 200px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    width: 150px;
}

.canvas2 {
    height: 80px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
    width: 250px;
}

.education-table-container {
    overflow-x: auto;
}

.education-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.education-table th {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    background: #f0f0f0;
}

.education-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.education-table td.exam-name {
    font-weight: bold;
}

.education-table input {
    width: 100%;
    border: none;
    padding: 4px;
}

.form-row.full-width input {
    flex: 2;
}

.form-row.spaced {
    margin: 20px 0;
}

.submit-button {
    background: #8b0000;
    border: none;
    padding: 10px 30px;
}

.form-field-border {
    border: 1px solid #333;
    padding: 5px;
}

.form-field-full-width {
    border: 1px solid #333;
    padding: 5px;
    width: 100%;
    margin-top: 5px;
}

.margin-left {
    margin-left: 20px;
}

.upload-instructions {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.table-content {
    width: 100%;
    border: none;
    padding: 4px;
}

.upload-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.circle-input-label {
    position: relative;
    width: 60px;
    height: 60px;
    top: 17px;
}

.input-circle {
    display: none !important;
}

.circle-visual {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dashed #7a7a7a;
    background: #fafbfd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border 0.2s;
}

.circle-visual.checked {
    border: 2px solid #4caf50;
    background: #e1fde1;
}

.checkmark {
    display: none;
    color: #4caf50;
    font-size: 2rem;
}

.circle-visual.checked .checkmark {
    display: block;
}
.filename,
.action {
    display: none !important;
}
.custom-textarea {
    width: 100%;
    border-bottom: 1px solid !important;
    border: none;
}
select option {
    text-transform: capitalize;
}
