.elementor-7872 .elementor-element.elementor-element-eae764f{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for shortcode, class: .elementor-element-3daabda *//* Color Variables */
:root {
    --primary-blue: #02203d; 
    --accent-blue: #00509e;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --policy-bg: #eef3f7;
}

/* Container Styling */
.form-container {
    max-width: 900px; margin: 0 auto; background: var(--white) !important;
    border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark) !important; line-height: 1.6;
}

/* Header */
.form-header { background-color: var(--primary-blue) !important; padding: 35px 40px; text-align: center; }
.form-header h1.main-title { font-size: 32px !important; margin-bottom: 10px !important; color: #ffffff !important; font-weight: bold !important; }
.motto { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: #8ab4f8 !important; text-transform: uppercase; }
.form-body { padding: 40px; }

/* Section Titles */
.form-body h2.section-title {
    color: var(--primary-blue) !important; font-size: 22px !important; font-weight: 700 !important;
    margin-bottom: 20px !important; padding-bottom: 10px !important; border-bottom: 2px solid var(--primary-blue) !important;
}

.course-info {
    background-color: var(--policy-bg) !important; padding: 15px 20px;
    border-left: 5px solid var(--accent-blue) !important; margin-bottom: 35px; border-radius: 4px; font-size: 15px;
}

/* Grids */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-address { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; margin-bottom: 20px; }
.full-width { grid-column: 1 / -1; margin-bottom: 20px; }

/* Form Group & Labels */
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600 !important; margin-bottom: 6px; font-size: 14px; color: var(--primary-blue) !important; }
.sub-label { font-weight: normal; font-size: 12px; color: var(--text-light) !important; margin-bottom: 5px; margin-top: -4px; display: block; }
span.wpcf7-form-control-wrap { display: block; width: 100%; }

/* Input Fields */
.form-body input[type="text"], .form-body input[type="email"], .form-body input[type="tel"],
.form-body input[type="date"], .form-body select, .form-body textarea {
    width: 100% !important; padding: 12px !important; background-color: #ffffff !important; 
    border: 1px solid #94a3b8 !important; border-radius: 4px !important; font-size: 15px !important;
    color: #1e293b !important; transition: all 0.3s ease; box-sizing: border-box;
}

.form-body input:focus, .form-body select:focus, .form-body textarea:focus {
    outline: none !important; border-color: var(--accent-blue) !important; box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.15) !important;
}
.form-body textarea { resize: vertical; min-height: 100px; }

/* Policy Section */
.policy-section {
    background-color: var(--policy-bg) !important; padding: 30px; border-radius: 8px;
    margin-top: 35px; font-size: 14px; border: 1px solid #dce5ed !important;
}
.upload-instruction { text-align: center; font-size: 16px; margin-top: 25px; }

/* ---- PERFECTED UPLOAD SYSTEM ---- */
.hidden-cf7-input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.upload-cards-container { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 25px; margin-bottom: 10px; }

/* Base Card Style */
.upload-card { 
    background: var(--white) !important; border: 2px dashed #94a3b8 !important; 
    border-radius: 8px; padding: 25px 20px; text-align: center; transition: all 0.3s ease;
}
.upload-card:not(.has-file):hover { border-color: var(--accent-blue) !important; background-color: #f8fafc !important; }

/* When a file IS uploaded, change border to solid blue */
.upload-card.has-file { border-color: var(--accent-blue) !important; border-style: solid !important; padding: 20px; }

/* Visibility Toggles based on .has-file class */
.upload-state-filled { display: none; }
.upload-card.has-file .upload-state-empty { display: none; }
.upload-card.has-file .upload-state-filled { display: flex; flex-direction: column; width: 100%; }

/* If a PDF is uploaded, hide the image preview box entirely */
.upload-card.is-pdf .img-preview-box { display: none !important; }

/* Empty State Styling */
.upload-state-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; padding: 10px 0;}
.upload-icon { width: 50px; height: 50px; fill: var(--accent-blue); margin-bottom: 15px;}
.upload-title { font-size: 16px; font-weight: bold; color: var(--primary-blue) !important; margin-bottom: 15px;}
.custom-browse-btn {
    background-color: #f1f5f9 !important; color: var(--primary-blue) !important; border: 1px solid #cbd5e1 !important;
    padding: 10px 24px !important; border-radius: 6px !important; font-weight: 600 !important; font-size: 14px !important;
    cursor: pointer !important; transition: all 0.2s ease-in-out !important; pointer-events: none;
}
.upload-state-empty:hover .custom-browse-btn {
    background-color: var(--accent-blue) !important; color: var(--white) !important; border-color: var(--accent-blue) !important;
}

/* Filled State Styling */
.img-preview-box {
    width: 100%; background: #f8fafc !important; border-radius: 6px !important; 
    border: 1px solid #e2e8f0 !important; padding: 10px !important; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center;
}
.img-preview { max-height: 160px !important; max-width: 100% !important; object-fit: contain !important; border-radius: 4px !important; }

/* Info Bar (File Name + Remove Button) */
.file-info-bar {
    display: flex; align-items: center; justify-content: space-between; width: 100%; 
    background: #f1f5f9 !important; padding: 10px 15px !important; border-radius: 6px !important; 
    border: 1px solid #cbd5e1 !important; box-sizing: border-box;
}

.file-details { display: flex; align-items: center; gap: 8px; overflow: hidden; }

.file-name { 
    font-size: 14px !important; font-weight: 600 !important; color: var(--primary-blue) !important;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; max-width: 180px;
}

/* Remove Button */
.remove-btn {
    display: flex; align-items: center; gap: 6px; background: none !important; border: none !important; 
    color: #ef4444 !important; font-size: 13px !important; font-weight: bold !important;
    cursor: pointer !important; padding: 6px 10px !important; border-radius: 4px !important; transition: 0.2s !important;
}
.remove-btn:hover { background: #fee2e2 !important; color: #dc2626 !important; }

/* ---- END UPLOAD SYSTEM DESIGN ---- */

/* Acceptance Box */
.acceptance-box { margin-top: 25px; background: var(--white) !important; padding: 15px; border-radius: 6px; border: 1px solid #94a3b8 !important; }
.wpcf7-list-item-label { font-weight: 500; font-size: 14px; margin-left: 10px; color: var(--text-dark) !important; }

/* Submit Button */
.submit-btn {
    background-color: var(--primary-blue) !important; color: var(--white) !important; border: none !important;
    padding: 16px 30px !important; font-size: 18px !important; font-weight: bold !important; border-radius: 6px !important;
    cursor: pointer !important; width: 100% !important; margin-top: 35px !important; transition: 0.3s !important;
}
.submit-btn:hover { background-color: var(--accent-blue) !important; }

@media (max-width: 768px) {
    .grid-2-col, .grid-3-col, .grid-address, .upload-cards-container { grid-template-columns: 1fr; gap: 15px; }
    .form-body { padding: 25px; }
    .file-name { max-width: 110px; }
}/* End custom CSS */