.modal-container#settings-modal {
    max-width: 520px !important;
    width: 94% !important;
    min-width: 320px;
}

.settings-modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.settings-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
}

.settings-modal-help {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.5;
}

.settings-modal-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.settings-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-form-group label,
.settings-field-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #d5d9e0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.settings-base-url-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.settings-base-url-row:not(.is-editing) .settings-base-url-input {
    display: none;
}

.settings-base-url-row.is-editing .settings-base-url-link {
    display: none;
}

.settings-base-url-link {
    flex: 1;
    min-width: 0;
    display: block;
    color: #c084fc;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    word-break: break-all;
    text-decoration: underline;
    text-decoration-color: rgba(192, 132, 252, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.settings-base-url-input {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.4;
}

.settings-base-url-input:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.75);
    background: rgba(255, 255, 255, 0.12);
}

.settings-base-url-edit-btn {
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.15);
    color: #e9d5ff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.settings-base-url-edit-btn:hover {
    background: rgba(168, 85, 247, 0.28);
    border-color: rgba(192, 132, 252, 0.65);
    color: #ffffff;
}

.settings-base-url-edit-btn:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

.settings-base-url-link:hover {
    color: #e9d5ff;
    text-decoration-color: rgba(233, 213, 255, 0.85);
}

.settings-base-url-link:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
    border-radius: 2px;
}

.settings-icon-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.settings-icon-btn:hover {
    background: rgba(168, 85, 247, 0.35);
    color: #e9d5ff;
}

.settings-icon-btn:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

.settings-icon-btn-graphic {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.settings-form-group input {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, background-color 0.2s;
}

.settings-form-group input:focus {
    outline: none;
    border-color: rgba(168, 85, 247, 0.65);
    background: rgba(255, 255, 255, 0.12);
}

.settings-date-field {
    position: relative;
    display: flex;
    align-items: stretch;
}

.settings-date-input {
    flex: 1;
    min-width: 0;
    padding-right: 3rem !important;
    color-scheme: dark;
    cursor: pointer;
}

.settings-date-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 3rem;
    height: 100%;
    cursor: pointer;
}

.settings-date-picker-btn {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
}

.settings-modal-actions {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.settings-go-live-btn.hero-btn.is-active {
    min-height: 56px;
    padding: 14px 28px;
    font-size: 0.95rem;
    gap: 14px;
    color: #f5cc4d;
    border-color: rgba(245, 204, 77, 0.55);
    background: linear-gradient(105deg, #6a25d0 0%, #3b0764 55%, #130449 100%);
    box-shadow:
        0 0 0 1px rgba(245, 204, 77, 0.18),
        0 4px 22px rgba(106, 37, 208, 0.5),
        0 0 32px rgba(245, 204, 77, 0.22);
    text-shadow: 0 0 14px rgba(245, 204, 77, 0.35);
    filter: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
}

.settings-go-live-btn.hero-btn.is-active:hover {
    color: #ffe082;
    border-color: rgba(255, 224, 130, 0.75);
    filter: none;
    box-shadow:
        0 0 0 1px rgba(255, 224, 130, 0.28),
        0 6px 28px rgba(106, 37, 208, 0.55),
        0 0 40px rgba(255, 224, 130, 0.32);
}

.settings-go-live-btn.hero-btn.is-active:active {
    transform: scale(0.98);
}

.settings-go-live-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(245, 204, 77, 0.55));
}

.modal-container#go-live-progress-modal {
    max-width: 520px !important;
    width: 94% !important;
}

.go-live-progress-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.go-live-progress-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
}

.go-live-progress-status {
    margin: 0;
    min-height: 1.5rem;
    color: #c084fc;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.go-live-progress-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    overflow: hidden;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35);
}

.go-live-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6a25d0 0%, #a855f7 45%, #f5cc4d 100%);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.55);
    transition: width 0.12s linear;
}

.go-live-progress-percent {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f5cc4d;
    text-align: right;
    letter-spacing: 0.04em;
}

.go-live-progress-steps {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 220px;
    overflow-y: auto;
}

.go-live-progress-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.go-live-progress-step.is-active {
    color: #e2e8f0;
    background: rgba(168, 85, 247, 0.12);
}

.go-live-progress-step.is-complete {
    color: #cbd5e1;
}

.go-live-progress-step-marker {
    flex-shrink: 0;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: 2px solid rgba(100, 116, 139, 0.8);
    background: transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.go-live-progress-step.is-active .go-live-progress-step-marker {
    border-color: #c084fc;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.65);
}

.go-live-progress-step.is-complete .go-live-progress-step-marker {
    border-color: #f5cc4d;
    background: #f5cc4d;
    box-shadow: 0 0 10px rgba(245, 204, 77, 0.45);
}

.go-live-progress-step-label {
    line-height: 1.35;
}

#go-live-success-overlay {
    overflow: hidden;
}

.go-live-fireworks-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.modal-container#go-live-success-modal {
    position: relative;
    z-index: 1;
    max-width: 440px !important;
    width: 92% !important;
}

.go-live-success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.go-live-success-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(245, 204, 77, 0.12);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.35);
}

.go-live-success-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: #f5cc4d;
    filter: drop-shadow(0 0 8px rgba(245, 204, 77, 0.65));
}

.go-live-success-title {
    margin: 0.25rem 0 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.go-live-success-message {
    margin: 0;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
}

.go-live-success-done-btn {
    margin-top: 0.75rem;
    min-width: 8rem;
    padding: 0.7rem 1.4rem;
    border: 1px solid rgba(168, 85, 247, 0.55);
    border-radius: 8px;
    background: linear-gradient(105deg, #6a25d0 0%, #3b0764 100%);
    color: #f5cc4d;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 20px rgba(106, 37, 208, 0.35);
}

.go-live-success-done-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 0 26px rgba(106, 37, 208, 0.45);
}

.go-live-success-done-btn:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}
