﻿
/* Fullscreen form loading overlay */
.medusa-form-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    place-items: center;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(2px);
}

    .medusa-form-overlay.is-open {
        display: grid;
    }

.medusa-form-overlay__box {
    width: min(460px, calc(100% - 32px));
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0,0,0,.12);
    padding: 18px 18px;
    text-align: center;
}

.medusa-form-overlay__spinner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 4px solid rgba(99,102,241,.22);
    border-top-color: rgba(99,102,241,1);
    animation: medusaSpin .9s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes medusaSpin {
    to {
        transform: rotate(360deg);
    }
}

.medusa-form-overlay__title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.medusa-form-overlay__desc {
    color: rgba(15, 23, 42, .65);
    font-size: 13px;
}

/* (opsiyonel) submit butonunu disable görünümü */
button[disabled], .rr-btn[disabled] {
    opacity: .75;
    cursor: not-allowed !important;
}
