/* Container Setup */
.form-col .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.form-col .form-full {
    margin-bottom: 20px;
}
.form-col .fgroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Typography Fields */
.form-col .flabel {
    font-size: 11px;
    font-weight: 500;
    color: var(--dark, #2b2b2b);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    display: block;
}
.form-col .flabel span {
    color: var(--br, #6b8c4a);
}
.form-col .finput, .form-col .ftextarea, .form-col .fselect {
    width: 100%;
    border: 0.5px solid var(--border-color, rgba(107,140,74,0.3));
    border-radius: 2px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--txt, #4a4a4a);
    background: var(--wh, #ffffff);
    box-sizing: border-box;
}

.form-col .finput:focus, .form-col .ftextarea:focus, .form-col .fselect:focus {
    outline: none;
    border-color: var(--br, #6b8c4a);
}

.form-col .select2-container {
    width: 100%; /* Overrides any inline javascript widths */
    display: block;
}

/* 2. Target the actual box structure (.select2-selection--single) */
.form-col .select2-container--default .select2-selection--single {
    height: 41px; /* Force matches the exact height of your text inputs */
    border: 0.5px solid var(--border-color, rgba(107,140,74,0.3));
    border-radius: 2px;
    background-color: var(--wh, #ffffff);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

/* 3. Target the text container inside the box (.select2-selection__rendered) */
.form-col .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--txt, #4a4a4a);
    font-size: 13px;
    font-family: inherit;
    padding-left: 14px;
    padding-right: 40px; /* Keeps text clear of the arrow */
    line-height: 40px; /* Perfectly centers the text vertically */
}

/* 4. Target the placeholder text span specifically visible in your screenshot */
.form-col .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #7a7a7a; /* Gives it a clean, muted placeholder look */
}

/* 5. Style the active focus state when user clicks the dropdown */
.form-col .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--br, #6b8c4a);
    outline: none;
}

/* 6. Target the outer arrow span wrapper (.select2-selection__arrow) */
.form-col .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 39px;
    top: 1px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 7. Style the actual little arrow down triangle element (<b> tag) */
.form-col .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--muted, #7a7a7a) transparent transparent transparent;
    border-width: 5px 4px 0 4px; /* Clean, modern, sharper triangle proportions */
}

/* Flip the arrow triangle upside down when dropdown is open */
.form-col .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--muted, #7a7a7a) transparent;
    border-width: 0 4px 5px 4px;
}

/* Subject Choice Bar */
.form-col .subject-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.form-col .subj-btn {
    border: 0.5px solid rgba(107, 140, 74, 0.25);
    border-radius: 2px;
    padding: 12px;
    font-size: 12px;
    color: var(--muted, #7a7a7a);
    cursor: pointer;
    background: var(--wh, #ffffff);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.form-col .subj-btn.active {
    border: 1.5px solid var(--br, #6b8c4a);
    color: var(--br, #6b8c4a);
    font-weight: 500;
    background: var(--brp, #f4f7f2);
}

.form-col .subj-btn:hover {
    color: var(--br, #6b8c4a);
    font-weight: 500;
    background: var(--brp, #f4f7f2);
    border: 0.5px solid rgba(107, 140, 74, 0.25);
} 

/* Action Upload Zone */
.form-col .upload-zone {
    position: relative; 
    border: 1px dashed rgba(107,140,74,0.3);
    border-radius: 2px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px; 
    background: #fdfdfd;
}
.form-col .upload-zone input[type="file"] { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    opacity: 0; 
    cursor: pointer; 
}
.form-col .upload-zone i {
    font-size: 24px;
    color: var(--br, #6b8c4a);
    margin-bottom: 8px;
    display: block;
}
.form-col .upload-zone p {
    font-size: 12px;
    color: var(--muted, #7a7a7a); 
    margin: 0;
}
.form-col .upload-zone span {
    font-size: 11px;
    color: var(--br, #6b8c4a);
    text-decoration: underline;
}

/* Privacy Acceptance Checkbox Area */
.form-col .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 28px;
}
.form-col .consent-cb {
    margin-top: 3px;
    width: 14px;
    height: 14px;
    accent-color: #6b8c4a;
}
.form-col .consent-text {
    font-size: 11px;
    color: var(--muted, #7a7a7a);
    line-height: 1.6;
}
.form-col .consent-text a {
    color: var(--br, #6b8c4a);
    text-decoration: underline;
}

/* Form Action Buttons */
.form-col .btn-submit {
    background: var(--brd, #4d6635);
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit; 
    transition: background 0.2s ease;
}
.form-col .btn-submit:hover {
    background: #3b4e28;
}
.form-col .submit-note {
    font-size: 11px;
    color: var(--muted, #7a7a7a);
    margin-top: 10px;
}

/* Alerts Validation Box styles */
.form-col .form-alert {
    padding: 15px; 
    border-radius: 4px; 
    margin-bottom: 20px;
    font-size: 13px;
}
.form-col .form-alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-col .form-alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
