.iw-registration-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Urbanist", Sans-serif;
    position: relative;
    width: 100%;
}

.iw-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.iw-progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.iw-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.iw-progress-step.active .step-number {
    background: #802AB3;
    color: white;
}

.iw-progress-step.completed .step-number {
    background: #802AB3;
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    text-align: center;
    color: #666;
}

.iw-form-step {
    background: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
}

.iw-form-step h2 {
    margin-top: 0;
    color: #802AB3;
    border-bottom: 2px solid #802AB3;
    padding-bottom: 10px;
    font-family: "Thunder Font", Sans-serif;
}

.iw-form-group {
    margin-bottom: 20px;
}

.iw-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.iw-form-group .required {
    color: #802AB3;
    font-weight: bold;
}

.iw-form-group input[type="text"],
.iw-form-group input[type="email"],
.iw-form-group input[type="tel"],
.iw-form-group input[type="url"],
.iw-form-group input[type="date"],
.iw-form-group input[type="file"],
.iw-form-group select,
.iw-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: "Urbanist", Sans-serif;
    box-sizing: border-box;
    background: #ffffff;
    transition: all 0.3s ease;
    color: #333;
}

.iw-form-group input[type="text"]:focus,
.iw-form-group input[type="email"]:focus,
.iw-form-group input[type="tel"]:focus,
.iw-form-group input[type="url"]:focus,
.iw-form-group input[type="date"]:focus,
.iw-form-group select:focus,
.iw-form-group textarea:focus {
    outline: none;
    border-color: #802AB3;
    box-shadow: 0 0 0 3px rgba(128, 42, 179, 0.1);
}

.iw-form-group input[type="text"]:hover,
.iw-form-group input[type="email"]:hover,
.iw-form-group input[type="tel"]:hover,
.iw-form-group input[type="url"]:hover,
.iw-form-group input[type="date"]:hover,
.iw-form-group select:hover,
.iw-form-group textarea:hover {
    border-color: #b0b0b0;
}

.iw-form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23802AB3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.iw-form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #802AB3;
    background: #f8f5ff;
    cursor: pointer;
}

.iw-form-group input[type="file"]:hover {
    background: #f0ebff;
    border-color: #6a2399;
}

.iw-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.iw-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.iw-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.iw-radio-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.3s ease;
    min-width: 90px;
    justify-content: center;
    position: relative;
    font-family: "Urbanist", Sans-serif;
    font-size: 14px;
}

.iw-radio-group label:hover {
    border-color: #802AB3;
    background: #f8f5ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(128, 42, 179, 0.15);
}

.iw-radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
    margin: 0;
}

.iw-radio-group label:has(input[type="radio"]:checked) {
    border-color: #802AB3;
    background: #802AB3;
    color: #F7E6A3;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(128, 42, 179, 0.25);
}

.iw-radio-group input[type="radio"]:checked + span,
.iw-radio-group label:has(input[type="radio"]:checked) {
    color: #F7E6A3;
}

/* Custom radio button indicator */
.iw-radio-group label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #802AB3;
    border-radius: 50%;
    margin-right: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.iw-radio-group label:has(input[type="radio"]:checked)::before {
    background: #F7E6A3;
    border-color: #F7E6A3;
    box-shadow: inset 0 0 0 4px #802AB3;
}

/* For browsers that don't support :has() */
.iw-radio-group input[type="radio"]:checked ~ span {
    color: #F7E6A3;
}

/* Fallback for older browsers */
.iw-radio-group label.radio-checked {
    border-color: #802AB3;
    background: #802AB3;
    color: #F7E6A3;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(128, 42, 179, 0.3);
}

.iw-radio-group label.radio-checked::before {
    background: #F7E6A3;
    border-color: #F7E6A3;
    box-shadow: inset 0 0 0 4px #802AB3;
}

/* Team member cards - see enhanced styling at bottom of file */

/* Documents Notice and Buttons */
.iw-documents-notice {
    background: #fff3e0;
    border: 2px solid #802AB3;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.iw-documents-notice-text {
    margin: 0;
    font-size: 16px;
    color: #802AB3;
    font-weight: 600;
}

.iw-documents-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.iw-document-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid;
    min-width: 200px;
}

.iw-document-btn-primary {
    background: #802AB3;
    color: #F7E6A3;
    border-color: #802AB3;
}

.iw-document-btn-primary:hover {
    background: #6a2399;
    color: #F7E6A3;
    border-color: #6a2399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 42, 179, 0.4);
}

.iw-document-btn-secondary {
    background: #F5E070;
    color: #802AB3;
    border-color: #802AB3;
}

.iw-document-btn-secondary:hover {
    background: #f4dd5a;
    color: #6a2399;
    border-color: #6a2399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 224, 112, 0.4);
}

/* Team member h3 - see enhanced styling at bottom of file */

.iw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.iw-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* =====================================================
   BUTTON STYLES - All States
   ===================================================== */

.iw-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Urbanist", Sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    outline: none;
}

/* Primary Button */
.iw-btn-primary {
    background: #802AB3;
    color: #fff;
    box-shadow: 0 2px 8px rgba(128, 42, 179, 0.25);
}

.iw-btn-primary:hover {
    background: #6a2399;
    color: #fff;
    box-shadow: 0 4px 16px rgba(128, 42, 179, 0.35);
    transform: translateY(-1px);
}

.iw-btn-primary:focus {
    background: #6a2399;
    box-shadow: 0 0 0 3px rgba(128, 42, 179, 0.3), 0 4px 16px rgba(128, 42, 179, 0.35);
}

.iw-btn-primary:active {
    background: #5a1d82;
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(128, 42, 179, 0.3);
}

.iw-btn-primary:disabled {
    background: #b8a0c8;
    color: #e8e0ed;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* Secondary Button */
.iw-btn-secondary {
    background: #fff;
    color: #802AB3;
    border: 2px solid #802AB3;
    box-shadow: none;
}

.iw-btn-secondary:hover {
    background: #f8f4fb;
    color: #6a2399;
    border-color: #6a2399;
}

.iw-btn-secondary:focus {
    box-shadow: 0 0 0 3px rgba(128, 42, 179, 0.2);
}

.iw-btn-secondary:active {
    background: #f0e8f5;
}

.iw-btn-secondary:disabled {
    background: #fafafa;
    color: #ccc;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Large button variant for primary CTA */
.iw-btn-large {
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 10px;
}

/* Centered form actions */
.iw-form-actions-center {
    justify-content: center;
    text-align: center;
}

/* Loading Spinner */
.iw-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(247, 230, 163, 0.3);
    border-top-color: #F7E6A3;
    border-radius: 50%;
    animation: iw-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes iw-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Neutral/default button (non-primary, non-secondary) */
.iw-btn:not(.iw-btn-primary):not(.iw-btn-secondary) {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.iw-btn:not(.iw-btn-primary):not(.iw-btn-secondary):hover {
    background: #eee;
    border-color: #ccc;
}

.iw-btn:not(.iw-btn-primary):not(.iw-btn-secondary):focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.iw-btn:not(.iw-btn-primary):not(.iw-btn-secondary):active {
    background: #e5e5e5;
}

/* Strong reset to avoid theme/Elementor overrides on our buttons */
.iw-registration-container button,
.iw-registration-container .iw-btn,
.iw-registration-container .iw-document-btn,
.iw-registration-container .iw-modal-close,
.iw-registration-container input[type="submit"],
.iw-registration-container input[type="button"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    font-family: "Urbanist", sans-serif !important;
    font-weight: 600;
    line-height: 1.2;
}

.iw-registration-container .iw-btn,
.iw-registration-container .iw-document-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.iw-error-message {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #c33;
}

.iw-success-message {
    background: #efe;
    color: #3c3;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #4CAF50;
}

.iw-success-message h2 {
    color: #4CAF50;
    margin-top: 0;
}

#essay-word-count {
    font-weight: bold;
    color: #4CAF50;
}

.iw-challenge-box {
    background: linear-gradient(135deg, #802AB3 0%, #6a2399 100%);
    color: #F7E6A3;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(128, 42, 179, 0.3);
}

.iw-challenge-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #F7E6A3;
    font-size: 20px;
    font-family: "Thunder Font", Sans-serif;
}

.iw-challenge-box p {
    margin: 0;
    color: #F7E6A3;
    font-size: 15px;
    line-height: 1.6;
}

.iw-challenge-box p strong {
    color: #F7E6A3;
    font-weight: 700;
}

.iw-highlight-box {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid;
}

.iw-highlight-positive {
    background: #f8f8f8;
    border-left-color: #802AB3;
    color: #333;
}

.iw-highlight-positive strong {
    color: #802AB3;
    display: block;
    margin-bottom: 8px;
}

/* Modal styles */
.iw-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}
.iw-modal.active {
    display: flex;
}
.iw-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 720px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    position: relative;
}
.iw-modal h3 {
    margin-top: 0;
    color: #802AB3;
    font-family: "Thunder Font", Sans-serif;
    border-bottom: 2px solid #802AB3;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

/* Modal body - reset all imported content */
.iw-modal-body {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Reset inline styles from Google Docs/Word */
.iw-modal-body * {
    font-family: inherit !important;
    max-width: 100%;
}
.iw-modal-body span {
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
}
.iw-modal-body span[style*="font-weight"] {
    font-weight: 600 !important;
}

/* Paragraphs */
.iw-modal-body p {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    color: #333 !important;
    line-height: 1.7 !important;
    font-size: 14px !important;
}
.iw-modal-body p:empty {
    display: none;
}
.iw-modal-body p:last-child {
    margin-bottom: 0 !important;
}

/* Headings */
.iw-modal-body h1,
.iw-modal-body h2,
.iw-modal-body h3,
.iw-modal-body h4,
.iw-modal-body h5,
.iw-modal-body h6 {
    color: #802AB3 !important;
    font-weight: 700 !important;
    margin: 20px 0 10px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.iw-modal-body h1:first-child,
.iw-modal-body h2:first-child,
.iw-modal-body h3:first-child,
.iw-modal-body h4:first-child {
    margin-top: 0 !important;
}
.iw-modal-body h1 { font-size: 22px !important; }
.iw-modal-body h2 { font-size: 20px !important; }
.iw-modal-body h3 { font-size: 18px !important; }
.iw-modal-body h4 { font-size: 16px !important; }
.iw-modal-body h5 { font-size: 15px !important; }
.iw-modal-body h6 { font-size: 14px !important; }

/* Lists */
.iw-modal-body ul,
.iw-modal-body ol {
    margin: 0 0 14px 0 !important;
    padding: 0 0 0 24px !important;
    list-style-position: outside;
}
.iw-modal-body li {
    margin: 0 0 8px 0 !important;
    padding: 0 0 0 4px !important;
    line-height: 1.6 !important;
}
.iw-modal-body li:last-child {
    margin-bottom: 0 !important;
}
.iw-modal-body li p {
    margin: 0 !important;
    display: inline;
}
.iw-modal-body li > ul,
.iw-modal-body li > ol {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

/* Strong/Bold */
.iw-modal-body strong,
.iw-modal-body b {
    font-weight: 700 !important;
    color: #333 !important;
}

/* Section headers */
.iw-modal-body > p > strong:only-child,
.iw-modal-body > strong:first-child {
    color: #802AB3 !important;
    display: block;
    font-size: 15px !important;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Links */
.iw-modal-body a {
    color: #802AB3 !important;
    font-weight: 600;
    text-decoration: underline;
}
.iw-modal-body a:hover {
    color: #6a2399 !important;
}

/* Tables (from Google Docs) */
.iw-modal-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 14px 0 !important;
    font-size: 13px !important;
}
.iw-modal-body table td,
.iw-modal-body table th {
    border: 1px solid #ddd !important;
    padding: 10px !important;
    text-align: left !important;
    vertical-align: top !important;
}
.iw-modal-body table th {
    background: #f5f0fa !important;
    font-weight: 700 !important;
    color: #802AB3 !important;
}
.iw-modal-body table tr:nth-child(even) td {
    background: #fafafa !important;
}

/* Images */
.iw-modal-body img {
    max-width: 100% !important;
    height: auto !important;
    margin: 10px 0 !important;
    border-radius: 4px;
}

/* Blockquotes */
.iw-modal-body blockquote {
    margin: 14px 0 !important;
    padding: 12px 16px !important;
    border-left: 4px solid #802AB3 !important;
    background: #f9f5fc !important;
    font-style: italic;
}

/* Horizontal rules */
.iw-modal-body hr {
    border: none !important;
    border-top: 1px solid #e0e0e0 !important;
    margin: 20px 0 !important;
}

/* Pre/Code blocks */
.iw-modal-body pre,
.iw-modal-body code {
    background: #f5f5f5 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    font-size: 13px !important;
}
.iw-modal-body pre {
    padding: 12px !important;
    overflow-x: auto;
}

/* Close button */
.iw-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #802AB3 !important;
    color: #F7E6A3 !important;
    border: none !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(128, 42, 179, 0.3);
    z-index: 10;
}
.iw-modal-close:hover {
    background: #6a2399 !important;
    color: #F7E6A3 !important;
}

/* Static content in modals */
.iw-static-content {
    line-height: 1.7;
    color: #333;
}

.iw-static-content h4 {
    color: #802AB3;
    margin: 20px 0 12px 0;
    font-size: 16px;
    font-weight: 700;
}

.iw-static-content h4:first-child {
    margin-top: 0;
}

.iw-static-content p {
    margin-bottom: 12px;
}

.iw-static-content ul,
.iw-static-content ol {
    margin: 0 0 15px 0;
    padding-left: 25px;
}

.iw-static-content li {
    margin-bottom: 8px;
}

.iw-static-content strong {
    color: #333;
}

@media (max-width: 600px) {
    .iw-modal-content {
        max-height: 90vh;
        padding: 16px;
        border-radius: 8px;
    }
    .iw-modal h3 {
        font-size: 18px;
        padding-right: 30px;
    }
    .iw-modal-body {
        font-size: 13px !important;
    }
    .iw-modal-body h1 { font-size: 18px !important; }
    .iw-modal-body h2 { font-size: 17px !important; }
    .iw-modal-body h3 { font-size: 16px !important; }
    .iw-modal-body h4 { font-size: 15px !important; }
    .iw-modal-body table {
        font-size: 12px !important;
    }
    .iw-modal-body table td,
    .iw-modal-body table th {
        padding: 8px !important;
    }
}

.iw-highlight-positive ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.iw-highlight-positive li {
    margin-bottom: 5px;
}

.iw-highlight-info {
    background: #e3f2fd;
    border-left-color: #2196F3;
    color: #1565c0;
}

.iw-highlight-info strong {
    color: #0d47a1;
}

.iw-highlight-warning {
    background: #fff3e0;
    border-left-color: #ff9800;
    color: #e65100;
}

.iw-highlight-warning strong {
    color: #bf360c;
}

.iw-fee-box {
    background: #F5E070;
    border: 2px solid #802AB3;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    color: #802AB3;
    font-weight: bold;
}

/* Validation Error Styles */
.iw-error-summary {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.iw-error-summary strong {
    color: #dc2626;
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}
.iw-error-summary ul {
    margin: 0;
    padding: 0 0 0 18px;
    color: #991b1b;
    font-size: 14px;
}
.iw-error-summary li {
    margin-bottom: 4px;
}
.iw-field-error {
    display: block;
    color: #dc2626;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
}
.iw-form-group.error label,
.iw-registration-container .error + label {
    color: #dc2626;
}
input.error,
select.error,
textarea.error,
.iw-registration-container input.error,
.iw-registration-container select.error,
.iw-registration-container textarea.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}
input.error:focus,
select.error:focus,
textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    border-color: #dc2626 !important;
}
.iw-file-upload-area.error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}
.iw-radio-group input.error + span,
.iw-checkbox-group input.error + span {
    color: #dc2626;
}

/* Clear errors on input */
.iw-registration-container input:focus:not(.error),
.iw-registration-container select:focus:not(.error),
.iw-registration-container textarea:focus:not(.error) {
    border-color: #802AB3 !important;
}

/* DOB Date Picker Styles */
.iw-dob-picker {
    position: relative;
    width: 100%;
}
.iw-dob-display {
    width: 100%;
    padding-right: 40px !important;
    cursor: pointer;
    background: #fff !important;
}
.iw-dob-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.iw-dob-picker:hover .iw-dob-icon {
    opacity: 1;
}
.iw-dob-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 280px;
    padding: 12px;
}
.iw-dob-dropdown.active {
    display: block;
    animation: iw-dob-fade 0.2s ease;
}
@keyframes iw-dob-fade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.iw-dob-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 4px;
}
.iw-dob-header button {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f0fa;
    color: #802AB3;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.iw-dob-header button:hover {
    background: #802AB3;
    color: #fff;
}
.iw-dob-month-year {
    font-weight: 600;
    color: #802AB3;
    font-size: 15px;
}
.iw-dob-selects {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.iw-dob-selects select {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    background: #fff;
}
.iw-dob-selects select:focus {
    outline: none;
    border-color: #802AB3;
}
.iw-dob-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}
.iw-dob-weekdays span {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    padding: 4px 0;
}
.iw-dob-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.iw-dob-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s;
    margin: 1px auto;
}
.iw-dob-day:hover:not(.iw-dob-other) {
    background: #f5f0fa;
    color: #802AB3;
}
.iw-dob-day.selected {
    background: #802AB3 !important;
    color: #fff !important;
    font-weight: 600;
}
.iw-dob-day.iw-dob-other {
    color: #ccc;
    cursor: default;
}

@media (max-width: 768px) {
    .iw-form-row {
        grid-template-columns: 1fr;
    }

    .iw-progress-bar {
        flex-wrap: wrap;
    }

    .step-label {
        font-size: 10px;
    }

    .iw-documents-buttons {
        flex-direction: column;
    }

    .iw-document-btn {
        width: 100%;
        min-width: auto;
    }

    /* DOB picker mobile */
    .iw-dob-dropdown {
        min-width: 260px;
        left: 50%;
        transform: translateX(-50%);
    }
    .iw-dob-day {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* =====================================================
   INTRO PAGE - Before You Begin
   ===================================================== */

.iw-intro-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.iw-intro-header {
    text-align: center;
    margin-bottom: 30px;
}

.iw-intro-logo {
    max-width: 280px;
    height: auto;
}

.iw-intro-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.iw-go-back-link {
    display: inline-block;
    color: #802AB3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.iw-go-back-link:hover {
    color: #6a2399;
    text-decoration: underline;
}

.iw-intro-title {
    font-family: "Thunder Font", Sans-serif;
    font-size: 36px;
    color: #802AB3;
    margin: 0 0 10px 0;
}

.iw-intro-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0 0 30px 0;
}

.iw-intro-video {
    margin: 0 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(128, 42, 179, 0.15);
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.iw-intro-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.iw-intro-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iw-intro-step {
    background: #fafafa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
}

.iw-intro-step-header {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.iw-intro-step-number {
    font-weight: 700;
    font-size: 15px;
}

/* Colored step headers */
.iw-step-yellow {
    background: #F5E070;
    color: #333;
}

.iw-step-green {
    background: #81C784;
    color: #1b5e20;
}

.iw-step-blue {
    background: #64B5F6;
    color: #0d47a1;
}

.iw-step-purple {
    background: #802AB3;
    color: #F7E6A3;
}

.iw-intro-step-text {
    color: #333;
    font-size: 15px;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.iw-intro-step-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f0f0f0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
}

.iw-note-icon {
    color: #802AB3;
    font-weight: bold;
    flex-shrink: 0;
}

.iw-intro-footer {
    text-align: center;
    margin-top: 30px;
}

.iw-intro-continue-btn {
    background: #802AB3;
    color: #F7E6A3;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Urbanist", Sans-serif;
    box-shadow: 0 4px 15px rgba(128, 42, 179, 0.3);
}

.iw-intro-continue-btn:hover {
    background: #6a2399;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 42, 179, 0.4);
}

/* Mobile responsive for intro page */
@media (max-width: 600px) {
    .iw-intro-page {
        padding: 15px;
    }

    .iw-intro-content {
        padding: 20px;
    }

    .iw-intro-title {
        font-size: 28px;
    }

    .iw-intro-logo {
        max-width: 200px;
    }

    .iw-intro-continue-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

/* =====================================================
   SUBMISSION STEP - Step 4 Enhanced Design
   ===================================================== */

.iw-submission-step .iw-go-back-link {
    display: inline-block;
    color: #802AB3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.iw-submission-step .iw-go-back-link:hover {
    color: #6a2399;
    text-decoration: underline;
}

.iw-step-title {
    font-family: "Thunder Font", Sans-serif;
    font-size: 32px;
    color: #333;
    margin: 0 0 25px 0;
    border-bottom: none;
    padding-bottom: 0;
}

.iw-submission-section {
    margin-bottom: 35px;
}

.iw-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
    font-family: "Urbanist", Sans-serif;
}

.iw-section-title .required {
    color: #802AB3;
}

.iw-section-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
}

/* Info boxes with icons - clean, minimal design */
.iw-info-box {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.iw-info-positive {
    background: #f8f8f8;
    border-color: #e0e0e0;
    border-left: 3px solid #802AB3;
}

.iw-info-negative {
    background: #f8f8f8;
    border-color: #e0e0e0;
    border-left: 3px solid #999;
}

.iw-info-warning {
    background: #f8f8f8;
    border-color: #e0e0e0;
    border-left: 3px solid #ff9800;
}

.iw-info-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.iw-icon-check {
    background: #802AB3;
    color: #fff;
}

.iw-icon-x {
    background: #888;
    color: #fff;
}

.iw-icon-info {
    background: #ff9800;
    color: #fff;
}

.iw-info-content {
    flex: 1;
}

.iw-info-content strong {
	display: block;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.iw-info-content ul {
    margin: 0;
    padding-left: 18px;
    color: #555;
    font-size: 13px;
}

.iw-info-content li {
    margin-bottom: 4px;
}

.iw-info-note {
    margin-top: 10px;
    font-style: italic;
    font-size: 13px;
    color: #666;
}

.iw-upload-label {
    font-size: 14px;
    color: #333;
    margin: 20px 0 10px 0;
}

.iw-field-note {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 12px;
}

/* File upload area */
.iw-file-upload-area {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iw-file-upload-area:hover {
    border-color: #802AB3;
    background: #f8f5ff;
}

.iw-file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.iw-file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.iw-file-icon {
    color: #999;
}

.iw-file-text {
    color: #666;
    font-size: 14px;
}

.iw-file-name {
    color: #802AB3;
    font-weight: 600;
    font-size: 14px;
}

.iw-file-upload-area.has-file {
    border-color: #802AB3;
    background: #f8f5ff;
}

.iw-file-upload-area.has-file .iw-file-text {
    display: none;
}

.iw-file-upload-area.error {
    border-color: #c33;
    background: #fff5f5;
}

.iw-file-upload-area.error .iw-file-icon svg {
    stroke: #c33;
}

.iw-file-upload-area.error .iw-file-text {
    color: #c33;
}

/* Upload states */
.iw-file-upload-area.uploading {
    border-color: #802AB3;
    background: #f8f5ff;
    pointer-events: none;
}

.iw-file-upload-area.uploaded {
    border-color: #28a745;
    border-style: solid;
    background: #f0fff4;
}

.iw-file-upload-area.uploaded .iw-file-icon svg {
    stroke: #28a745;
}

/* Upload spinner */
.iw-upload-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-top-color: #802AB3;
    border-radius: 50%;
    animation: iw-spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes iw-spin {
    to { transform: rotate(360deg); }
}

/* Success/error icons in file name */
.iw-upload-success {
    color: #28a745;
    font-weight: bold;
    margin-right: 4px;
}

.iw-upload-error {
    color: #c33;
    font-weight: bold;
    margin-right: 4px;
}

/* Remove file button */
.iw-remove-file {
    background: #c33;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    margin-left: 8px;
    vertical-align: middle;
    padding: 0;
    transition: background 0.2s ease;
}

.iw-remove-file:hover {
    background: #a00;
}

/* Word count styling */
.iw-word-count {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

/* Full width button */
.iw-form-actions-full {
    border-top: none;
    padding-top: 10px;
    margin-top: 30px;
}

.iw-btn-full {
    width: 100%;
    padding: 16px 30px;
    font-size: 18px;
    border-radius: 8px;
}

/* Mobile responsive for submission step */
@media (max-width: 600px) {
    .iw-step-title {
        font-size: 26px;
    }

    .iw-section-title {
        font-size: 16px;
    }

    .iw-info-box {
        padding: 12px;
    }

    .iw-file-upload-area {
        padding: 20px;
    }
}

/* =====================================================
   PAYMENT STEP - Step 5 Design
   ===================================================== */

.iw-payment-step .iw-go-back-link {
    display: inline-block;
    color: #802AB3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.iw-payment-step .iw-go-back-link:hover {
    color: #6a2399;
    text-decoration: underline;
}

.iw-payment-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

/* Custom checkbox styling */
.iw-terms-checkbox {
    margin: 25px 0;
}

.iw-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.iw-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.iw-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #802AB3;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.iw-checkbox-label input[type="checkbox"]:checked ~ .iw-checkmark {
    background: #802AB3;
}

.iw-checkbox-label input[type="checkbox"]:checked ~ .iw-checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.iw-checkbox-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.iw-checkbox-text a,
.iw-terms-link {
    color: #802AB3;
    text-decoration: underline;
    font-weight: 700;
    background: linear-gradient(to bottom, transparent 60%, rgba(128, 42, 179, 0.15) 60%);
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.iw-checkbox-text a:hover,
.iw-terms-link:hover {
    color: #6a2399;
    background: linear-gradient(to bottom, transparent 60%, rgba(128, 42, 179, 0.3) 60%);
}

/* Payment fee display */
.iw-payment-fee {
    font-size: 18px;
    color: #333;
    margin: 30px 0;
}

.iw-payment-fee strong {
    color: #802AB3;
    font-size: 20px;
}

/* Payment note */
.iw-payment-note {
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 15px;
}

/* Save & Continue Later Section */
.iw-save-later-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.iw-save-later-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.iw-btn-save-later {
    background: #fff !important;
    border: 2px solid #802AB3 !important;
    color: #802AB3 !important;
    padding: 10px 25px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.iw-btn-save-later:hover {
    background: #f8f4fb !important;
    border-color: #6a2399 !important;
    color: #6a2399 !important;
}

.iw-btn-save-later:focus {
    box-shadow: 0 0 0 3px rgba(128, 42, 179, 0.2) !important;
}

.iw-btn-save-later:active {
    background: #f0e8f5 !important;
}

/* Mobile responsive for payment step */
@media (max-width: 600px) {
    .iw-payment-fee {
        font-size: 16px;
    }

    .iw-payment-fee strong {
        font-size: 18px;
    }
}

/* =====================================================
   TEAM INFO STEP - Step 3 Enhanced Design
   ===================================================== */

.iw-team-step .iw-go-back-link {
    display: inline-block;
    color: #802AB3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.iw-team-step .iw-go-back-link:hover {
    color: #6a2399;
    text-decoration: underline;
}

.iw-step-desc {
    color: #666;
    font-size: 15px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.iw-field-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Captain section */
.iw-captain-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.iw-captain-section .iw-info-box {
    margin-bottom: 15px;
}

/* Team member cards improved styling */
.iw-team-member {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.iw-team-member h3 {
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #802AB3;
    color: #333;
    font-size: 16px;
}

.iw-team-member[data-member="1"] h3,
.iw-team-member[data-member="2"] h3,
.iw-team-member[data-member="3"] h3 {
    border-bottom-color: #802AB3;
}

.iw-team-member[data-member="4"] h3,
.iw-team-member[data-member="5"] h3 {
    border-bottom-color: #ccc;
    color: #666;
}

.iw-team-member[data-member="4"],
.iw-team-member[data-member="5"] {
    background: #fafafa;
    border-style: dashed;
}

/* =====================================================
   ELIGIBILITY STEP - Step 2 Enhanced Design
   ===================================================== */

.iw-eligibility-step .iw-go-back-link {
    display: inline-block;
    color: #802AB3;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.iw-eligibility-step .iw-go-back-link:hover {
    color: #6a2399;
    text-decoration: underline;
}

.iw-eligibility-question {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.iw-eligibility-question:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.iw-question-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Larger radio buttons for eligibility */
.iw-radio-large label {
    padding: 14px 28px;
    font-size: 16px;
    min-width: 120px;
}

.iw-radio-large label::before {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Eligibility select styling */
.iw-eligibility-question select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: "Urbanist", Sans-serif;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iw-eligibility-question select:focus {
    outline: none;
    border-color: #802AB3;
    box-shadow: 0 0 0 3px rgba(128, 42, 179, 0.1);
}

.iw-eligibility-question select:hover {
    border-color: #b0b0b0;
}

/* =====================================================
   TEST MODE - Fill Test Data Button
   ===================================================== */

.iw-fill-test-data {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-family: "Urbanist", Sans-serif;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.iw-fill-test-data:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.iw-form-step {
    position: relative;
}

/* =====================================================
   AUTOSAVE INDICATOR
   ===================================================== */

.iw-autosave-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f8f8;
    border-radius: 20px;
    margin: 15px auto;
    max-width: fit-content;
    font-size: 13px;
    color: #888;
    transition: all 0.3s ease;
}

.iw-autosave-icon {
    font-size: 14px;
    transition: all 0.3s ease;
}

.iw-autosave-indicator.saving {
    background: #fff3e0;
    color: #f57c00;
}

.iw-autosave-indicator.saving .iw-autosave-icon {
    animation: iw-spin 1s linear infinite;
    color: #f57c00;
}

.iw-autosave-indicator.saved {
    background: #e8f5e9;
    color: #388e3c;
}

.iw-autosave-indicator.saved .iw-autosave-icon {
    color: #388e3c;
}

.iw-autosave-indicator.error {
    background: #ffebee;
    color: #d32f2f;
}

.iw-autosave-indicator.error .iw-autosave-icon {
    color: #d32f2f;
}

@keyframes iw-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

