.his-teal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0d6e6e;
    display: inline-block;
    margin-right: 6px;
    flex-shrink: 0;
}

.his-section-title {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b7280;
}

.reg-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: visible;
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}

    .reg-card:focus-within {
        box-shadow: 0 4px 20px rgba(13,110,110,.08);
    }

.reg-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #f8fafa;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 14px 14px 0 0;
}

.reg-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 0 0 14px 14px;
}

.reg-grid {
    display: grid;
    gap: 14px;
    align-items: end;
}

.reg-grid-1 {
    grid-template-columns: 1fr;
}

.reg-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.reg-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .reg-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .reg-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .reg-grid-4, .reg-grid-3 {
        grid-template-columns: 1fr;
    }
}

.reg-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reg-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6b7280;
}

.reg-required {
    color: #dc2626;
}

.reg-input, .reg-select {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .85rem;
    color: #111827;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    font-family: inherit;
}

    .reg-input:focus, .reg-select:focus {
        border-color: #0d6e6e;
        box-shadow: 0 0 0 3px rgba(13,110,110,.1);
    }

    .reg-input.reg-error, .reg-select.reg-error {
        border-color: #dc2626;
        box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }

    .reg-input::placeholder {
        color: #9ca3af;
    }

.reg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
    border: 1px solid transparent;
}

    .reg-btn:active {
        transform: scale(.97);
    }

.reg-btn-primary {
    background: #0d6e6e;
    color: #fff;
    border-color: #0d6e6e;
}

    .reg-btn-primary:hover {
        background: #0a5858;
        border-color: #0a5858;
    }

    .reg-btn-primary:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.reg-btn-outline {
    background: #fff;
    color: #0d6e6e;
    border-color: #0d6e6e;
}

    .reg-btn-outline:hover {
        background: #f0fafa;
    }

.reg-btn-ghost {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

    .reg-btn-ghost:hover {
        background: #e5e7eb;
    }

.reg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .reg-overlay.hidden {
        display: none;
    }

.reg-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.reg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.reg-modal-body {
    overflow-y: auto;
    padding: 16px 20px;
    flex: 1;
}

.reg-modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafa;
}

.preview-section-title {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #0d6e6e;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
    margin: 12px 0 8px;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: .82rem;
    border-bottom: 1px solid #f3f4f6;
}

    .preview-row span:first-child {
        color: #6b7280;
        font-weight: 500;
    }

    .preview-row span:last-child {
        color: #111827;
        font-weight: 600;
        text-align: right;
        max-width: 55%;
    }

.reg-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: reg-spin .7s linear infinite;
    display: none;
}

@keyframes reg-spin {
    to {
        transform: rotate(360deg);
    }
}

.sd-wrapper {
    position: relative;
}

.sd-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    height: 36px;
}

    .sd-display:focus {
        border-color: #0d6e6e;
        box-shadow: 0 0 0 3px rgba(13,110,110,.1);
    }

.sd-arrow {
    color: #9ca3af;
    font-size: .7rem;
    margin-left: 4px;
    flex-shrink: 0;
}

.sd-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .85rem;
}

.sd-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 999;
    overflow: hidden;
}

.sd-search-wrap {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.sd-search {
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: .82rem;
    outline: none;
}

    .sd-search:focus {
        border-color: #0d6e6e;
    }

.sd-list {
    max-height: 220px;
    overflow-y: auto;
}

.sd-item {
    padding: 8px 12px;
    font-size: .83rem;
    cursor: pointer;
    transition: background .1s;
}

    .sd-item:hover {
        background: #f0fafa;
        color: #0d6e6e;
    }

/* From the earlier availability-dot enhancement — safe to keep here too */
.sd-item-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.sd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sd-item-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-slot-badge {
    font-size: .68rem;
    font-weight: 700;
    color: #059669;
    background: #d1fae5;
    padding: 2px 7px;
    border-radius: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.sd-slot-badge-muted {
    color: #9ca3af;
    background: #f3f4f6;
}

.sd-no-result {
    padding: 10px 12px;
    font-size: .82rem;
    color: #9ca3af;
}

.reg-input:disabled,
.reg-select:disabled {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
    border-color: #e5e7eb;
    opacity: 1;
}

/* ---- Premium Tutorial Modal ---- */
.his-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6); /* Slate backdrop */
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    transition: opacity 0.25s ease-out;
}

.his-modal-overlay.hidden {
    display: none !important;
}

.his-modal-box {
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: his-pop-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes his-pop-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.his-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.his-modal-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    font-family: inherit;
}

.his-modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    padding: 0 0 2px 0;
}

.his-modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.his-modal-video-wrap {
    background: #000000;
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
}

.his-modal-video-wrap video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.his-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.his-modal-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    height: auto;
}

.his-modal-btn-copy:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.his-modal-btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: #0d6e6e;
    border: 1px solid #0d6e6e;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(13, 110, 110, 0.2);
    height: auto;
}

.his-modal-btn-close:hover {
    background: #094f4f;
    border-color: #094f4f;
    box-shadow: 0 6px 16px rgba(13, 110, 110, 0.3);
}

@media (max-width: 480px) {
    .his-modal-box {
        border-radius: 12px;
    }
    .his-modal-header {
        padding: 12px 16px;
    }
    .his-modal-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
    .his-modal-btn-copy, .his-modal-btn-close {
        width: 100%;
        justify-content: center;
    }
}
