/* COEXRT Training Registration Form Styles - Modern Futuristic Design */
/* High specificity to override theme styles */

:root {
    --coexrt-primary: #6B46C1 !important;
    --coexrt-primary-dark: #5B21B6 !important;
    --coexrt-primary-light: #9333EA !important;
    --coexrt-accent: #00D9FF !important;
    --coexrt-success: #10B981 !important;
    --coexrt-error: #EF4444 !important;
    --coexrt-warning: #F59E0B !important;
    --coexrt-bg-dark: #0F172A !important;
    --coexrt-bg-card: #1E293B !important;
    --coexrt-text-primary: #F1F5F9 !important;
    --coexrt-text-secondary: #CBD5E1 !important;
    --coexrt-border: #334155 !important;
    --coexrt-gradient: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #00D9FF 100%) !important;
    --coexrt-glow: 0 0 20px rgba(107, 70, 193, 0.5) !important;
}

/* Reset theme interference - Force dark theme */
body .coexrt-registration-form-container,
.coexrt-registration-form-container,
body .entry-content .coexrt-registration-form-container,
.entry-content .coexrt-registration-form-container,
body .content .coexrt-registration-form-container,
.content .coexrt-registration-form-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    background: #0F172A !important;
    background-color: #0F172A !important;
    min-height: 100vh !important;
    position: relative !important;
    overflow-x: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: #F1F5F9 !important;
}

/* Ensure parent containers don't override */
body .coexrt-registration-form-container *,
.coexrt-registration-form-container * {
    box-sizing: border-box !important;
}

/* Animated background */
.coexrt-registration-form-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(107, 70, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        var(--coexrt-bg-dark);
    z-index: 0;
    pointer-events: none;
}

.coexrt-form-header {
    margin-bottom: 35px;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.coexrt-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.coexrt-logo-container {
    flex-shrink: 0;
    animation: fadeInLeft 0.6s ease-out;
}

.coexrt-logo {
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(107, 70, 193, 0.3));
}

.coexrt-header-title-section {
    flex: 1;
    text-align: right;
    animation: fadeInRight 0.6s ease-out 0.2s both;
}

.coexrt-form-title {
    font-size: 2.5em;
    font-weight: 800;
    background: var(--coexrt-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.coexrt-form-subtitle {
    font-size: 1.3em;
    color: var(--coexrt-text-primary);
    margin: 0;
    font-weight: 600;
}

.coexrt-form-description {
    font-size: 1em;
    color: var(--coexrt-text-secondary);
    margin: 0 0 20px 0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.coexrt-instruction-box {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-left: 4px solid var(--coexrt-accent);
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: var(--coexrt-glow);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.coexrt-info-icon {
    font-size: 1.8em;
    color: var(--coexrt-accent);
    font-weight: bold;
    min-width: 28px;
    text-shadow: 0 0 10px var(--coexrt-accent);
}

.coexrt-instruction-text {
    color: var(--coexrt-text-primary);
    font-size: 0.95em;
    line-height: 1.6;
}

body .coexrt-registration-form,
.coexrt-registration-form {
    background: #1E293B !important;
    background-color: #1E293B !important;
    padding: 50px !important;
    border-radius: 24px !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border: 1px solid #334155 !important;
    position: relative !important;
    z-index: 1 !important;
    backdrop-filter: blur(10px) !important;
    animation: fadeInUp 0.8s ease-out 0.6s both !important;
}

.coexrt-form-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--coexrt-border);
    position: relative;
}

.coexrt-form-section:last-of-type {
    border-bottom: none;
}

body .coexrt-section-title,
.coexrt-section-title {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #F1F5F9 !important;
    margin-bottom: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.coexrt-section-title::before {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--coexrt-gradient);
    border-radius: 2px;
    box-shadow: var(--coexrt-glow);
}

.coexrt-section-description {
    color: var(--coexrt-text-secondary);
    font-size: 0.95em;
    margin-bottom: 25px;
    line-height: 1.6;
}

.coexrt-form-row {
    margin-bottom: 25px;
}

.coexrt-form-group {
    display: flex;
    flex-direction: column;
}

.coexrt-form-label {
    font-weight: 600;
    color: var(--coexrt-text-primary);
    margin-bottom: 10px;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.coexrt-required {
    color: var(--coexrt-error);
    font-size: 1.1em;
}

.coexrt-form-input,
.coexrt-form-textarea,
.coexrt-form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--coexrt-border);
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.5);
    color: var(--coexrt-text-primary);
    backdrop-filter: blur(10px);
}

.coexrt-form-input:focus,
.coexrt-form-textarea:focus,
.coexrt-form-select:focus {
    outline: none;
    border-color: var(--coexrt-primary);
    box-shadow: 
        0 0 0 3px rgba(107, 70, 193, 0.2),
        var(--coexrt-glow);
    background: rgba(15, 23, 42, 0.7);
}

.coexrt-form-input::placeholder,
.coexrt-form-textarea::placeholder {
    color: var(--coexrt-text-secondary);
    opacity: 0.6;
}

.coexrt-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.coexrt-form-select {
    background-color: rgba(15, 23, 42, 0.5);
    cursor: pointer;
    appearance: none;
    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='%23CBD5E1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.coexrt-error-message {
    color: var(--coexrt-error);
    font-size: 0.85em;
    margin-top: 8px;
    display: block;
    animation: shake 0.3s ease;
}

.coexrt-form-input.error,
.coexrt-form-textarea.error,
.coexrt-form-select.error {
    border-color: var(--coexrt-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.coexrt-form-input.success {
    border-color: var(--coexrt-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.coexrt-documents-instruction {
    color: var(--coexrt-text-secondary);
    font-size: 0.95em;
    margin-bottom: 25px;
}

.coexrt-documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.coexrt-document-upload {
    position: relative;
}

.coexrt-file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.coexrt-document-label {
    cursor: pointer;
    display: block;
}

.coexrt-upload-card {
    background: rgba(15, 23, 42, 0.5);
    border: 2px dashed var(--coexrt-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 160px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.coexrt-upload-card:hover {
    border-color: var(--coexrt-primary);
    background: rgba(107, 70, 193, 0.1);
    box-shadow: var(--coexrt-glow);
    transform: translateY(-2px);
}

.coexrt-upload-icon {
    font-size: 2.5em;
    color: var(--coexrt-text-secondary);
    filter: drop-shadow(0 0 10px rgba(107, 70, 193, 0.3));
}

.coexrt-document-name {
    font-weight: 600;
    color: var(--coexrt-text-primary);
    font-size: 0.95em;
}

.coexrt-file-status {
    font-size: 0.85em;
    color: var(--coexrt-text-secondary);
    font-style: italic;
}

.coexrt-form-submit-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid var(--coexrt-border);
}

.coexrt-submit-button {
    background: var(--coexrt-gradient);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(107, 70, 193, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.coexrt-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.coexrt-submit-button:hover::before {
    left: 100%;
}

.coexrt-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(107, 70, 193, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.coexrt-submit-button:active {
    transform: translateY(-1px);
}

.coexrt-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.coexrt-form-message {
    margin-top: 25px;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    animation: slideIn 0.4s ease;
}

.coexrt-form-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--coexrt-success);
    border: 1px solid var(--coexrt-success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.coexrt-form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: var(--coexrt-error);
    border: 1px solid var(--coexrt-error);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* ==========================================
   SELECTION PROGRAM SECTION - Modern Card Layout
   ========================================== */

/* Program List Container */
body .coexrt-program-list,
.coexrt-program-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Individual Program Card */
body .coexrt-program-card,
.coexrt-program-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 1) 100%) !important;
    border: 2px solid rgba(71, 85, 105, 0.5) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

.coexrt-program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--coexrt-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.coexrt-program-card:hover {
    border-color: rgba(107, 70, 193, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.2) !important;
}

.coexrt-program-card:hover::before {
    opacity: 0.5;
}

.coexrt-program-card:has(.coexrt-program-radio-input:checked) {
    border-color: #6B46C1 !important;
    background: linear-gradient(145deg, rgba(107, 70, 193, 0.15) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
    box-shadow: 
        0 8px 32px rgba(107, 70, 193, 0.3),
        0 0 0 1px rgba(107, 70, 193, 0.3) !important;
}

.coexrt-program-card:has(.coexrt-program-radio-input:checked)::before {
    opacity: 1;
}

/* Program Header - Radio + Title + Info Button on SAME LINE */
body .coexrt-program-header,
.coexrt-program-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 24px 28px !important;
    background: rgba(0, 0, 0, 0.15) !important;
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-bottom: none !important;
    flex-wrap: nowrap !important;
    transition: background 0.3s ease !important;
}

.coexrt-program-card:has(.coexrt-program-radio-input:checked) .coexrt-program-header {
    background: rgba(107, 70, 193, 0.08) !important;
    background-color: rgba(107, 70, 193, 0.08) !important;
}

/* Program Select Label (Radio + Title) */
body .coexrt-program-select-label,
.coexrt-program-select-label {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 !important;
    cursor: pointer !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* Hide actual program radio input */
.coexrt-program-radio-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Custom Program Radio Visual */
body .coexrt-program-radio-visual,
.coexrt-program-radio-visual {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border: 2.5px solid rgba(148, 163, 184, 0.6) !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.9) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.coexrt-program-radio-input:checked + .coexrt-program-radio-visual {
    border-color: #6B46C1 !important;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #00D9FF 100%) !important;
    box-shadow: 0 0 16px rgba(107, 70, 193, 0.6), 0 0 0 4px rgba(107, 70, 193, 0.1) !important;
}

.coexrt-program-radio-input:checked + .coexrt-program-radio-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: radioCheck 0.3s ease;
}

/* Program Name */
body .coexrt-program-name,
.coexrt-program-name {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #F1F5F9 !important;
    line-height: 1.5 !important;
    text-shadow: none !important;
    flex: 1 !important;
    min-width: 0 !important;
    word-wrap: break-word !important;
    display: block !important;
    letter-spacing: -0.01em !important;
}

.coexrt-program-radio-input:checked ~ .coexrt-program-name {
    color: #C084FC !important;
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.3) !important;
}

/* Program Info Button */
body .coexrt-program-info-btn,
.coexrt-program-info-btn {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.25) 0%, rgba(147, 51, 234, 0.15) 100%) !important;
    border: 2px solid rgba(107, 70, 193, 0.5) !important;
    color: #C084FC !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.coexrt-program-info-btn:hover {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #00D9FF 100%) !important;
    color: white !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.5) !important;
    border-color: #C084FC !important;
}

.coexrt-program-info-btn:active {
    transform: scale(1) !important;
}

/* Program Dates Section */
body .coexrt-program-dates,
.coexrt-program-dates {
    padding: 20px 24px !important;
}

/* Program Dates List - vertical stack, one date per row */
body .coexrt-program-dates-section,
.coexrt-program-dates-section {
    padding: 20px 28px 24px !important;
}

body .coexrt-program-dates-list,
.coexrt-program-dates-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Each date option: radio + text on same row, aligned */
body .coexrt-program-date-item,
.coexrt-program-date-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 2px solid rgba(71, 85, 105, 0.4) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.coexrt-program-date-item:hover:not(.full) {
    border-color: rgba(107, 70, 193, 0.6) !important;
    background: rgba(107, 70, 193, 0.15) !important;
}

.coexrt-program-date-item:has(.coexrt-program-date-radio-input:checked) {
    border-color: #6B46C1 !important;
    background: rgba(107, 70, 193, 0.2) !important;
}

.coexrt-program-date-item.full {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Date radio visual - circle, fixed size, no shrink */
body .coexrt-program-date-item .coexrt-program-date-radio-visual,
.coexrt-program-date-item .coexrt-program-date-radio-visual {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    border: 2px solid rgba(148, 163, 184, 0.5) !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.9) !important;
    display: inline-block !important;
    transition: all 0.2s ease !important;
}

.coexrt-program-date-item:has(.coexrt-program-date-radio-input:checked) .coexrt-program-date-radio-visual {
    border-color: #6B46C1 !important;
    background: #6B46C1 !important;
}

/* Date text - wraps properly */
body .coexrt-program-date-text-content,
.coexrt-program-date-text-content {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 0.95rem !important;
    color: #F1F5F9 !important;
    line-height: 1.5 !important;
}

body .coexrt-program-date-range,
.coexrt-program-date-range {
    display: block !important;
}

body .coexrt-program-date-slots,
.coexrt-program-date-slots {
    display: block !important;
    font-size: 0.85rem !important;
    color: #94A3B8 !important;
    margin-top: 4px !important;
}

/* Hide actual date radio input */
.coexrt-program-date-radio-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Date Selection */
body .coexrt-date-selection,
.coexrt-date-selection {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(71, 85, 105, 0.2) !important;
}

/* Date Select Label */
body .coexrt-date-select-label,
.coexrt-date-select-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    margin: 0 !important;
}

/* Hide actual radio input */
.coexrt-program-radio-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Custom Radio Visual - Larger filled circle */
body .coexrt-program-radio-visual,
.coexrt-program-radio-visual {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 2px solid rgba(148, 163, 184, 0.5) !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.9) !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.coexrt-program-radio-input:checked + .coexrt-program-radio-visual {
    border-color: #6B46C1 !important;
    background: #6B46C1 !important;
    box-shadow: 0 0 12px rgba(107, 70, 193, 0.6) !important;
}

/* Date Select Text */
body .coexrt-date-select-text,
.coexrt-date-select-text {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #F1F5F9 !important;
    line-height: 1.3 !important;
}

.coexrt-program-radio-input:checked ~ .coexrt-date-select-text {
    color: #C084FC !important;
}

/* Available Dates Section */
body .coexrt-available-dates,
.coexrt-available-dates {
    margin-top: 20px !important;
}

.coexrt-dates-label {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #C084FC !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Dates Grid */
body .coexrt-dates-grid,
.coexrt-dates-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 12px !important;
}

/* Individual Date Choice */
body .coexrt-date-choice,
.coexrt-date-choice {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    background: rgba(15, 23, 42, 0.5) !important;
    border: 2px solid rgba(71, 85, 105, 0.4) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.coexrt-date-choice:hover:not(.full) {
    border-color: rgba(107, 70, 193, 0.6) !important;
    background: rgba(107, 70, 193, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.2) !important;
}

.coexrt-date-choice:has(.coexrt-date-choice-input:checked) {
    border-color: var(--coexrt-accent) !important;
    background: rgba(0, 217, 255, 0.15) !important;
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.3), var(--coexrt-glow) !important;
}

/* Date Choice Input */
.coexrt-date-choice-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Date Choice Visual */
body .coexrt-date-choice-visual,
.coexrt-date-choice-visual {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 2px solid rgba(148, 163, 184, 0.5) !important;
    border-radius: 50% !important;
    background: transparent !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.coexrt-date-choice-input:checked + .coexrt-date-choice-visual {
    border-color: var(--coexrt-accent) !important;
    background: var(--coexrt-accent) !important;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.6) !important;
}

/* Date Choice Text */
body .coexrt-date-choice-text,
.coexrt-date-choice-text {
    font-size: 0.95rem !important;
    color: #E2E8F0 !important;
    flex: 1 !important;
    line-height: 1.4 !important;
}

.coexrt-date-choice-input:checked ~ .coexrt-date-choice-text {
    color: var(--coexrt-accent) !important;
    font-weight: 600 !important;
}

/* Full Badge */
.coexrt-date-full-badge {
    font-size: 0.75rem !important;
    color: #EF4444 !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    padding: 4px 8px !important;
    background: rgba(239, 68, 68, 0.2) !important;
    border-radius: 6px !important;
}

/* No Dates Available */
.coexrt-no-dates-available {
    text-align: center !important;
    padding: 15px !important;
}

.coexrt-no-dates-available p {
    margin: 0 !important;
    color: #94A3B8 !important;
    font-size: 0.95rem !important;
    font-style: italic !important;
}

/* Legacy support - keep old classes for compatibility */
.coexrt-course-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Individual Course Group */
body .coexrt-course-group,
.coexrt-course-group {
    border: 1.5px solid rgba(71, 85, 105, 0.4) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.coexrt-course-group:hover {
    border-color: rgba(107, 70, 193, 0.6) !important;
}

.coexrt-course-group:has(.coexrt-course-radio-input:checked) {
    border-color: rgba(107, 70, 193, 0.8) !important;
    background: rgba(107, 70, 193, 0.04) !important;
}

/* Course Header - One-line: [●] Title [ℹ] */
body .coexrt-course-header,
.coexrt-course-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: transparent !important;
    transition: background 0.3s ease !important;
}

.coexrt-course-group:hover .coexrt-course-header {
    background: rgba(107, 70, 193, 0.05) !important;
}

/* Course Select Label (Radio + Title) */
body .coexrt-course-select-label,
.coexrt-course-select-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    cursor: pointer !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* Hide actual radio input */
.coexrt-course-radio-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Custom Radio Visual - Small filled dot */
body .coexrt-radio-visual,
.coexrt-radio-visual {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    border: 1.5px solid rgba(148, 163, 184, 0.5) !important;
    border-radius: 50% !important;
    background: rgba(15, 23, 42, 0.9) !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.coexrt-course-radio-input:checked + .coexrt-radio-visual {
    border-color: #6B46C1 !important;
    background: #6B46C1 !important;
    box-shadow: 0 0 8px rgba(107, 70, 193, 0.6) !important;
}

/* Course Title */
body .coexrt-course-title,
.coexrt-course-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #F1F5F9 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.coexrt-course-radio-input:checked ~ .coexrt-course-title {
    color: #C084FC !important;
}

/* Info Button */
body .coexrt-info-btn,
.coexrt-info-btn {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    color: #94A3B8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.coexrt-info-btn:hover {
    color: #C084FC !important;
    transform: scale(1.1) !important;
}

.coexrt-info-btn[aria-expanded="true"] {
    color: #C084FC !important;
}

/* Dates Section (Collapsible) */
body .coexrt-dates-section,
.coexrt-dates-section {
    padding: 0 !important;
    display: none !important;
    background: transparent !important;
    border-top: 1px solid rgba(71, 85, 105, 0.2) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.coexrt-course-group:has(.coexrt-course-radio-input:checked) .coexrt-dates-section {
    display: block !important;
    max-height: 500px !important;
    padding: 8px 14px !important;
}

/* Dates List */
.coexrt-dates-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

/* Individual Date Option */
body .coexrt-date-option,
.coexrt-date-option {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.coexrt-date-option:hover {
    background: rgba(107, 70, 193, 0.08) !important;
}

.coexrt-date-option.full {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Date Radio Input */
.coexrt-date-radio-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

/* Date Radio Visual - Small circle */
body .coexrt-date-radio,
.coexrt-date-radio {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    border: 1.5px solid rgba(148, 163, 184, 0.5) !important;
    border-radius: 50% !important;
    background: transparent !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.coexrt-date-radio-input:checked + .coexrt-date-radio {
    border-color: #6B46C1 !important;
    background: #6B46C1 !important;
    box-shadow: 0 0 6px rgba(107, 70, 193, 0.6) !important;
}

/* Date Label Text */
body .coexrt-date-label,
.coexrt-date-label {
    font-size: 0.9rem !important;
    color: #E2E8F0 !important;
    flex: 1 !important;
}

.coexrt-date-radio-input:checked ~ .coexrt-date-label {
    color: #C084FC !important;
    font-weight: 500 !important;
}

.coexrt-date-status {
    font-size: 0.75rem !important;
    color: #EF4444 !important;
    font-weight: 600 !important;
}

/* No Dates Message */
.coexrt-no-dates-msg {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    color: #94A3B8 !important;
    font-style: italic !important;
}

/* Animation */
@keyframes radioCheck {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy support - keep old classes for compatibility */
.coexrt-dates-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coexrt-date-option {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    border: 2px solid #475569;
    border-radius: 14px;
    padding: 16px 20px;
    background: rgba(30, 41, 59, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
    gap: 12px;
}

.coexrt-date-option > .coexrt-date-radio {
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.coexrt-date-option > .coexrt-date-label {
    flex: 1 1 auto !important;
    min-width: 0;
}

.coexrt-date-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--coexrt-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coexrt-date-option:hover:not(.full):not(:has(.coexrt-date-radio:disabled)) {
    border-color: var(--coexrt-primary);
    background: rgba(107, 70, 193, 0.2);
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(107, 70, 193, 0.15);
}

.coexrt-date-option:hover:not(.full)::before {
    opacity: 1;
}

.coexrt-date-option.selected,
.coexrt-date-option:has(.coexrt-date-radio:checked) {
    border-color: var(--coexrt-primary);
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.25) 0%, rgba(147, 51, 234, 0.15) 100%);
    box-shadow: 
        0 0 0 2px rgba(107, 70, 193, 0.3),
        0 4px 20px rgba(107, 70, 193, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.coexrt-date-option:has(.coexrt-date-radio:checked)::before {
    opacity: 1;
}

.coexrt-date-option.full {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(30, 41, 59, 0.3);
    border-color: var(--coexrt-border);
}

.coexrt-date-option.full:hover {
    transform: none;
    border-color: var(--coexrt-border);
    background: rgba(30, 41, 59, 0.3);
}

.coexrt-date-option.full .coexrt-date-label {
    cursor: not-allowed;
}

.coexrt-date-radio {
    display: none;
}

.coexrt-date-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    cursor: pointer;
    margin: 0 !important;
    gap: 12px !important;
    position: relative;
    flex: 1;
    white-space: nowrap;
}

.coexrt-date-label::before {
    content: '';
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2.5px solid var(--coexrt-border);
    border-radius: 50%;
    flex-shrink: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-block;
    vertical-align: middle;
}

.coexrt-date-option:hover:not(.full) .coexrt-date-label::before {
    border-color: var(--coexrt-primary);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(107, 70, 193, 0.1);
}

.coexrt-date-radio:checked + .coexrt-date-label::before {
    border-color: var(--coexrt-primary);
    background: var(--coexrt-gradient);
    box-shadow: 
        0 0 0 5px rgba(107, 70, 193, 0.2),
        0 0 0 8px rgba(107, 70, 193, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: radioPulse 0.4s ease;
}

@keyframes radioPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.coexrt-date-radio:checked + .coexrt-date-label::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: radioCheck 0.3s ease;
}

@keyframes radioCheck {
    0% {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.coexrt-date-text {
    flex: 0 1 auto !important;
    font-weight: 600 !important;
    font-size: 1.05em !important;
    color: #FFFFFF !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    white-space: nowrap;
    display: inline-block;
}

.coexrt-date-text,
.coexrt-date-option .coexrt-date-text,
.coexrt-date-label .coexrt-date-text,
label .coexrt-date-text,
.coexrt-date-option span.coexrt-date-text {
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 600 !important;
}

.coexrt-date-radio:checked + .coexrt-date-label .coexrt-date-text,
.coexrt-date-option:has(.coexrt-date-radio:checked) .coexrt-date-text {
    color: #C084FC !important;
    text-shadow: 0 0 12px rgba(192, 132, 252, 0.6) !important;
}

.coexrt-date-participants {
    font-size: 0.9em !important;
    color: #E2E8F0 !important;
    font-weight: 500 !important;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.coexrt-date-option .coexrt-date-participants,
.coexrt-date-label .coexrt-date-participants {
    color: #E2E8F0 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.coexrt-date-radio:checked + .coexrt-date-label .coexrt-date-participants,
.coexrt-date-option:has(.coexrt-date-radio:checked) .coexrt-date-participants {
    color: #00D9FF !important;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.5) !important;
}

.coexrt-full-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 1.5px solid var(--coexrt-error);
    border-radius: 10px;
    color: var(--coexrt-error);
    font-weight: 700;
    font-size: 0.8em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.coexrt-no-dates-message {
    padding: 20px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.15) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 2px solid var(--coexrt-primary);
    border-radius: 14px;
    margin-top: 12px;
    text-align: center;
}

.coexrt-no-dates-message p {
    margin: 0 !important;
    color: #FFFFFF !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Radio Button Styles - Modern (kept for backward compatibility) */
.coexrt-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.coexrt-radio-option {
    border: 2px solid var(--coexrt-border);
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.coexrt-radio-option:hover {
    border-color: var(--coexrt-primary);
    background: rgba(107, 70, 193, 0.1);
    transform: translateX(5px);
}

.coexrt-radio-input {
    display: none;
}

.coexrt-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    flex: 1;
    gap: 15px;
}

.coexrt-radio-label::before {
    content: '';
    width: 22px;
    height: 22px;
    border: 2px solid var(--coexrt-border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.coexrt-radio-input:checked + .coexrt-radio-label::before {
    border-color: var(--coexrt-primary);
    background: var(--coexrt-primary);
    box-shadow: 
        0 0 0 4px rgba(107, 70, 193, 0.2),
        var(--coexrt-glow);
}

.coexrt-radio-input:checked + .coexrt-radio-label::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
}

.coexrt-radio-title {
    display: block;
    font-weight: 600;
    font-size: 1.05em;
    color: var(--coexrt-text-primary);
}

.coexrt-radio-input:checked + .coexrt-radio-label .coexrt-radio-title {
    color: var(--coexrt-primary-light);
}

.coexrt-dates-count-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    background: rgba(107, 70, 193, 0.2);
    border: 1px solid var(--coexrt-primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--coexrt-accent);
    vertical-align: middle;
}

.coexrt-radio-option.active,
.coexrt-radio-option:has(.coexrt-radio-input:checked) {
    border-color: var(--coexrt-primary);
    background: rgba(107, 70, 193, 0.15);
    box-shadow: 
        0 0 0 1px rgba(107, 70, 193, 0.3),
        var(--coexrt-glow);
}

/* Info Button Styles - Enhanced */
.coexrt-info-button {
    background: var(--coexrt-gradient);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    padding: 0;
    box-shadow: 
        0 4px 15px rgba(107, 70, 193, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.coexrt-info-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.coexrt-info-button:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 
        0 6px 25px rgba(107, 70, 193, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.coexrt-info-button:hover::before {
    width: 100%;
    height: 100%;
}

.coexrt-info-button:active {
    transform: scale(0.95) rotate(180deg);
}

.coexrt-info-icon-small {
    display: block;
    line-height: 1;
}

/* Tooltip Styles */
.coexrt-tooltip {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    isolation: isolate;
}

.coexrt-tooltip.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.coexrt-tooltip-content {
    background: var(--coexrt-bg-card);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 99999999 !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        var(--coexrt-glow);
    border: 1px solid var(--coexrt-border);
    animation: scaleIn 0.3s ease;
}

.coexrt-tooltip-content h4 {
    margin: 0 0 15px 0;
    color: var(--coexrt-primary-light);
    font-size: 1.3em;
    font-weight: 700;
}

.coexrt-tooltip-content p {
    margin: 0;
    line-height: 1.8;
    color: var(--coexrt-text-secondary);
}

.coexrt-tooltip-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--coexrt-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coexrt-text-primary);
    transition: all 0.3s ease;
}

.coexrt-tooltip-close:hover {
    background: var(--coexrt-error);
    border-color: var(--coexrt-error);
    transform: rotate(90deg);
}

/* Course Actions */
.coexrt-course-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Date Button Styles */
.coexrt-date-button {
    background: var(--coexrt-accent);
    color: var(--coexrt-bg-dark);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}

.coexrt-date-button.show,
.coexrt-date-button[style*="display: flex"],
.coexrt-date-button[style*="display:flex"],
.coexrt-date-button[style*="flex"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.coexrt-date-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.6);
}

.coexrt-date-icon {
    display: block;
    line-height: 1;
}

/* Date Modal Styles */
.coexrt-date-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    isolation: isolate;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.coexrt-date-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.coexrt-date-modal-content {
    background: var(--coexrt-bg-card);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 99999999 !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        var(--coexrt-glow);
    border: 1px solid var(--coexrt-border);
    animation: scaleIn 0.3s ease;
    width: 100%;
}

.coexrt-date-modal-content h3 {
    margin: 0 0 10px 0;
    color: var(--coexrt-primary-light);
    font-size: 1.5em;
    font-weight: 700;
}

.coexrt-course-name-display {
    color: var(--coexrt-text-primary) !important;
    font-size: 0.95em;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: rgba(107, 70, 193, 0.15);
    border-radius: 8px;
    border-left: 3px solid var(--coexrt-primary);
    border-bottom: none;
    font-weight: 500;
}

.coexrt-loading-dates,
.coexrt-no-dates,
.coexrt-error-dates {
    text-align: center;
    color: var(--coexrt-text-primary) !important;
    padding: 20px;
    font-style: italic;
    font-size: 16px;
}

.coexrt-dates-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.coexrt-date-option {
    border: 2px solid var(--coexrt-border);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.5);
}

.coexrt-date-option.available:hover {
    border-color: var(--coexrt-primary);
    background: rgba(107, 70, 193, 0.1);
    transform: translateX(5px);
}

.coexrt-date-option.available.selected {
    border-color: var(--coexrt-accent);
    background: rgba(0, 217, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(0, 217, 255, 0.3);
}

.coexrt-date-option.full {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--coexrt-error);
}

.coexrt-date-option-content {
    color: var(--coexrt-text-primary) !important;
}

.coexrt-date-option-content strong {
    display: block;
    margin-bottom: 5px;
    color: var(--coexrt-text-primary) !important;
    font-weight: 600;
    font-size: 16px;
}

.coexrt-date-option-content small {
    color: var(--coexrt-text-primary) !important;
    font-size: 0.9em;
    opacity: 0.8;
}

.coexrt-date-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--coexrt-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coexrt-text-primary);
    transition: all 0.3s ease;
}

.coexrt-date-modal-close:hover {
    background: var(--coexrt-error);
    border-color: var(--coexrt-error);
    transform: rotate(90deg);
}

.coexrt-selected-date-display {
    margin-top: 15px;
    padding: 12px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 8px;
    border: 1px solid var(--coexrt-accent);
    color: var(--coexrt-text-primary);
}

.coexrt-selected-date-display strong {
    color: var(--coexrt-accent);
}

.coexrt-selected-date-text {
    color: var(--coexrt-text-primary);
    font-weight: 600;
}

/* Input with Status */
.coexrt-input-with-status {
    position: relative;
    display: flex;
    align-items: center;
}

.coexrt-input-with-status .coexrt-form-input {
    padding-right: 50px;
}

.coexrt-username-status {
    position: absolute;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.coexrt-username-status.checking {
    opacity: 1;
    transform: scale(1);
    background: var(--coexrt-warning);
    color: white;
    animation: pulse 1s infinite;
}

.coexrt-username-status.available {
    opacity: 1;
    transform: scale(1);
    background: var(--coexrt-success);
    color: white;
}

.coexrt-username-status.taken {
    opacity: 1;
    transform: scale(1);
    background: var(--coexrt-error);
    color: white;
}

/* Password Status Indicator */
.coexrt-password-status {
    position: absolute;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.coexrt-password-status.matching {
    opacity: 1;
    transform: scale(1);
    background: var(--coexrt-success);
    color: white;
}

.coexrt-password-status.not-matching {
    opacity: 1;
    transform: scale(1);
    background: var(--coexrt-error);
    color: white;
}

.coexrt-field-hint {
    display: block;
    font-size: 0.85em;
    color: var(--coexrt-text-secondary);
    margin-top: 8px;
    font-style: italic;
}

/* Terms and Conditions Styles */
.coexrt-terms-section {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid var(--coexrt-border);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
}

.coexrt-terms-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.coexrt-terms-text {
    background: rgba(15, 23, 42, 0.5);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--coexrt-border);
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--coexrt-primary) var(--coexrt-bg-card);
}

.coexrt-terms-text::-webkit-scrollbar {
    width: 8px;
}

.coexrt-terms-text::-webkit-scrollbar-track {
    background: var(--coexrt-bg-card);
    border-radius: 4px;
}

.coexrt-terms-text::-webkit-scrollbar-thumb {
    background: var(--coexrt-primary);
    border-radius: 4px;
}

.coexrt-terms-text p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: var(--coexrt-text-primary);
}

.coexrt-terms-list {
    margin: 15px 0;
    padding-left: 25px;
    line-height: 1.9;
}

.coexrt-terms-list li {
    margin: 15px 0;
    color: var(--coexrt-text-secondary);
}

.coexrt-terms-list li strong {
    color: var(--coexrt-primary-light);
}

.coexrt-term-sublist {
    margin: 10px 0 0 25px;
    padding: 0;
    list-style-type: disc;
}

.coexrt-term-sublist li {
    margin: 10px 0;
    line-height: 1.7;
}

.coexrt-term-item {
    background: rgba(15, 23, 42, 0.5);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--coexrt-border);
    margin-top: 15px;
}

.coexrt-term-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.coexrt-term-input {
    margin-top: 4px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--coexrt-primary);
}

.coexrt-term-text {
    flex: 1;
    line-height: 1.7;
    color: var(--coexrt-text-primary);
}

.coexrt-term-text strong {
    color: var(--coexrt-primary-light);
}

.coexrt-term-checkbox:hover .coexrt-term-text {
    color: var(--coexrt-text-primary);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design - Tablet and Below */
@media (max-width: 1024px) {
    .coexrt-registration-form-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 12px 24px;
    }
    
    .coexrt-registration-form {
        padding: 20px 16px;
        max-width: 100%;
    }
    
    .coexrt-form-title {
        font-size: 2.2em;
    }
    
    .coexrt-form-subtitle {
        font-size: 1.2em;
    }
    
    .coexrt-section-title {
        font-size: 1.5em;
    }
}

/* ========================================
   MOBILE PHONE - Centered, Full Width
   Pull content left when theme wrapper is wider than viewport
   ======================================== */
@media (max-width: 768px) {
    html, body { overflow-x: hidden !important; }
    /* Center in viewport: pull left when theme wrapper is wider than screen */
    body .coexrt-registration-form-container,
    .coexrt-registration-form-container {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: calc(50vw - 50%) !important;
        margin-right: calc(50vw - 50%) !important;
        padding: 0 4px 20px !important;
        box-sizing: border-box !important;
    }
    
    body .coexrt-registration-form,
    .coexrt-registration-form {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 6px !important;
        border-radius: 12px;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    .coexrt-form-header {
        padding-top: 12px;
        margin-bottom: 16px;
    }
    
    .coexrt-instruction-box {
        padding: 10px 6px !important;
        max-width: 100% !important;
    }
    
    /* All form elements - full width */
    .coexrt-form-section,
    .coexrt-form-row,
    .coexrt-form-group {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .coexrt-form-input,
    .coexrt-form-textarea,
    .coexrt-form-select {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 12px 8px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }
    
    /* Program selection - STACKED layout so program name gets full width row */
    body .coexrt-program-list,
    .coexrt-program-list {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    body .coexrt-program-card,
    .coexrt-program-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Stack header vertically: program name gets own full-width row - fixes letter stacking */
    body .coexrt-program-header,
    .coexrt-program-header {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 10px 6px !important;
        width: 100% !important;
    }
    
    body .coexrt-program-select-label,
    .coexrt-program-select-label {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
        order: 1 !important;
    }
    
    body .coexrt-program-name,
    .coexrt-program-name {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        word-wrap: normal !important;
        line-height: 1.5 !important;
        display: block !important;
    }
    
    body .coexrt-program-info-btn,
    .coexrt-program-info-btn {
        align-self: flex-end !important;
        order: 2 !important;
    }
    
    body .coexrt-program-dates-section,
    .coexrt-program-dates-section,
    body .coexrt-program-dates,
    .coexrt-program-dates {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 6px !important;
        box-sizing: border-box !important;
    }
    
    body .coexrt-program-date-item,
    .coexrt-program-date-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 6px !important;
        min-height: 44px;
        box-sizing: border-box !important;
    }
    
    body .coexrt-program-date-text-content,
    .coexrt-program-date-text-content {
        flex: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    
    body .coexrt-program-date-range,
    .coexrt-program-date-range {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    
    /* Terms - full width, minimal padding */
    body .coexrt-terms-section,
    .coexrt-terms-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 8px 6px !important;
        box-sizing: border-box !important;
    }
    
    body .coexrt-terms-text,
    .coexrt-terms-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        max-height: 260px;
        box-sizing: border-box !important;
    }
    
    body .coexrt-term-item,
    .coexrt-term-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 6px !important;
        box-sizing: border-box !important;
    }
    
    /* Documents - full width single column */
    body .coexrt-documents-grid,
    .coexrt-documents-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    body .coexrt-upload-card,
    .coexrt-upload-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 8px !important;
        box-sizing: border-box !important;
    }
    
    .coexrt-course-card {
        border-radius: 12px;
    }
    
    .coexrt-card-header {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .coexrt-course-name {
        font-size: 1rem !important;
    }
    
    .coexrt-info-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 14px;
    }
    
    .coexrt-dates-section {
        padding: 10px 8px;
    }
    
    .coexrt-date-item {
        padding: 12px 10px;
        gap: 10px;
    }
    
    .coexrt-date-range {
        font-size: 0.9rem !important;
    }
    
    .coexrt-header-top {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 20px;
        margin-bottom: 15px;
    }
    
    .coexrt-logo-container {
        display: flex;
        justify-content: center;
    }
    
    .coexrt-logo {
        max-width: 360px;
    }
    
    .coexrt-header-title-section {
        text-align: center !important;
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .coexrt-form-title {
        font-size: 1.8em;
        margin-bottom: 5px;
    }
    
    .coexrt-form-subtitle {
        font-size: 1em;
    }
    
    .coexrt-form-description {
        font-size: 0.9em;
        margin-bottom: 15px;
    }
    
    .coexrt-instruction-box {
        padding: 10px 8px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
        max-width: 100%;
    }
    
    .coexrt-info-icon {
        font-size: 1.5em;
    }
    
    .coexrt-instruction-text {
        font-size: 0.85em;
    }
    
    .coexrt-registration-form {
        padding: 14px 10px !important;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .coexrt-form-section {
        margin-bottom: 22px;
        padding-bottom: 18px;
    }
    
    body .coexrt-section-title,
    .coexrt-section-title {
        font-size: 1.25em !important;
        margin-bottom: 16px !important;
    }
    
    .coexrt-section-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    
    .coexrt-form-row {
        margin-bottom: 20px;
    }
    
    .coexrt-form-label {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .coexrt-form-input,
    .coexrt-form-textarea,
    .coexrt-form-select {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 14px !important;
        font-size: 16px; /* Prevents zoom on iOS */
        box-sizing: border-box !important;
    }
    
    .coexrt-form-textarea {
        min-height: 80px;
    }
    
    .coexrt-field-hint {
        font-size: 0.8em;
    }
    
    .coexrt-documents-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .coexrt-upload-card {
        padding: 16px 12px;
        min-height: 120px;
        width: 100%;
        max-width: 100%;
    }
    
    .coexrt-upload-icon {
        font-size: 2em;
    }
    
    .coexrt-document-name {
        font-size: 0.9em;
    }
    
    .coexrt-radio-group {
        gap: 10px;
    }
    
    .coexrt-radio-option {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .coexrt-radio-label {
        flex: 1;
        min-width: 0;
    }
    
    .coexrt-radio-title {
        font-size: 0.95em;
        word-break: break-word;
    }
    
    .coexrt-info-button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .coexrt-input-with-status {
        position: relative;
    }
    
    .coexrt-input-with-status .coexrt-form-input {
        padding-right: 45px;
    }
    
    .coexrt-username-status,
    .coexrt-password-status {
        right: 12px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .coexrt-terms-section {
        padding: 12px 8px !important;
        border-radius: 12px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .coexrt-terms-text {
        padding: 14px 10px !important;
        max-height: 280px;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .coexrt-terms-list {
        padding-left: 20px;
        font-size: 0.9em;
    }
    
    .coexrt-terms-list li {
        margin: 12px 0;
        line-height: 1.7;
    }
    
    .coexrt-term-sublist {
        margin-left: 20px;
    }
    
    .coexrt-term-item {
        padding: 15px;
    }
    
    .coexrt-term-checkbox {
        gap: 12px;
    }
    
    .coexrt-term-input {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    .coexrt-term-text {
        font-size: 0.9em;
        line-height: 1.6;
    }
    
    .coexrt-form-submit-section {
        margin-top: 35px;
        padding-top: 25px;
    }
    
    .coexrt-submit-button {
        padding: 15px 40px;
        font-size: 1em;
        width: 100%;
        max-width: 100%;
    }
    
    .coexrt-tooltip {
        padding: 15px;
    }
    
    .coexrt-tooltip-content {
        padding: 20px 15px;
        margin: 10px;
        max-width: calc(100% - 20px);
        max-height: 85vh;
    }
    
    .coexrt-tooltip-content h4 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .coexrt-tooltip-content p {
        font-size: 0.9em;
        line-height: 1.6;
    }
    
    .coexrt-tooltip-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    .coexrt-form-message {
        padding: 15px;
        font-size: 0.9em;
    }
}

/* Small Mobile Phone */
@media (max-width: 480px) {
    body .coexrt-registration-form-container,
    .coexrt-registration-form-container {
        padding: 0 4px 16px !important;
    }
    
    .coexrt-form-header {
        padding-top: 8px;
        margin-bottom: 14px;
    }
    
    .coexrt-logo {
        max-width: 280px;
    }
    
    .coexrt-form-title {
        font-size: 1.4em;
    }
    
    .coexrt-form-subtitle {
        font-size: 0.9em;
    }
    
    body .coexrt-registration-form,
    .coexrt-registration-form {
        padding: 12px 6px !important;
    }
    
    .coexrt-section-title {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .coexrt-course-item {
        padding: 16px;
        border-radius: 14px;
    }
    
    .coexrt-course-title {
        font-size: 1em;
        line-height: 1.4;
    }
    
    .coexrt-course-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 14px;
    }
    
    .coexrt-info-button {
        align-self: flex-end;
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    
    .coexrt-dates-group {
        gap: 8px;
        padding-left: 0;
    }
    
    .coexrt-date-option {
        padding: 12px 14px;
        border-radius: 10px;
    }
    
    .coexrt-date-option:hover:not(.full) {
        transform: translateX(4px);
    }
    
    .coexrt-date-text {
        font-size: 0.9em;
        line-height: 1.3;
    }
    
    .coexrt-date-participants {
        font-size: 0.85em;
    }
    
    .coexrt-full-badge {
        padding: 4px 8px;
        font-size: 0.75em;
    }
    
    .coexrt-date-label {
        gap: 12px;
    }
    
    .coexrt-date-label::before {
        width: 18px;
        height: 18px;
    }
    
    .coexrt-date-radio:checked + .coexrt-date-label::after {
        width: 7px;
        height: 7px;
        left: 5.5px;
    }
    
    .coexrt-form-input,
    .coexrt-form-textarea,
    .coexrt-form-select {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 10px !important;
        font-size: 16px;
        box-sizing: border-box !important;
    }
    
    .coexrt-radio-option {
        padding: 10px 12px;
    }
    
    .coexrt-radio-title {
        font-size: 0.9em;
    }

    .coexrt-info-button {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    body .coexrt-program-header,
    .coexrt-program-header {
        padding: 12px 10px !important;
    }

    body .coexrt-program-name,
    .coexrt-program-name {
        font-size: 0.95rem !important;
    }

    .coexrt-program-title {
        font-size: 0.95rem !important;
    }

    .coexrt-program-info-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12px;
    }

    .coexrt-program-dates,
    .coexrt-program-dates-section {
        padding: 8px 6px 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .coexrt-program-date-item {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 8px !important;
        min-height: 44px;
    }
    .coexrt-program-date-text-content,
    .coexrt-program-date-range {
        white-space: normal !important;
        word-break: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    .coexrt-program-date-range {
        font-size: 0.88rem !important;
    }
    .coexrt-program-date-slots {
        font-size: 0.8rem !important;
    }

    .coexrt-dates-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .coexrt-date-choice {
        padding: 10px 14px;
        border-radius: 10px;
    }

    .coexrt-date-choice:hover:not(.full) {
        transform: translateY(-1px) !important;
    }

    .coexrt-date-choice-text {
        font-size: 0.9rem !important;
    }

    .coexrt-program-radio-visual {
        width: 18px !important;
        height: 18px !important;
    }

    .coexrt-date-choice-visual {
        width: 16px !important;
        height: 16px !important;
    }
    
    .coexrt-upload-card {
        padding: 20px 12px;
        min-height: 120px;
    }
    
    .coexrt-terms-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 6px !important;
    }
    
    .coexrt-terms-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 8px !important;
        max-height: 220px;
    }
    
    .coexrt-submit-button {
        padding: 12px 30px;
        font-size: 0.95em;
    }
}

/* Responsive Design - Large Screens */
@media (min-width: 1400px) {
    .coexrt-registration-form-container {
        max-width: 1400px;
    }
    
    .coexrt-registration-form {
        padding: 60px;
    }
}

/* Fix for iOS Safari input zoom */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .coexrt-form-input,
        .coexrt-form-textarea,
        .coexrt-form-select {
            font-size: 16px !important;
        }
    }
}
