/* This stylesheet override some default Bootstrap's styling */

body.full {
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden
}

.container {
  width: auto;
  padding: 0 15px;
}

.container-narrow {
    width: auto;
    max-width: 480px;
}

.btn-mk {
    color: #fff;
    background-color: #03A9F4;
}

.table {
    background-color: #fff;
}

.table-status td {
    background-color: #fff8e8;
}

.text_asat {
    font-size: small;
    font-weight: normal;
    color: #838383;
}

.link-mk {
    color: #403B39;
    text-decoration: none;
}

.link-mk:hover {
    text-decoration: underline;
}

.card {
    margin-bottom: 0.5em;
}

.card-title {
    border-bottom: 1px dotted #E8E6E6;
    padding-bottom: 0.5em;
    font-size: 1rem;
}

footer {
    background-color: #629acc;
}

footer .list-group-item, footer .list-group-item:hover {
    background: none;
    border: none;
}

footer a.nav-link {
    color: #fff;
    padding-top: 0;
}

footer a.nav-link:hover {
    text-decoration: underline;
}

.loader {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.loader::before {
    content: '';
    position: relative;
    display: block;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    top: 0;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


:root {
    --color-primary: rgb(37,38,38);
    --color-secondary: #006233;
    --color-secondary2: #006233
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0
}

.container-chat {
    font-weight: 400
}

.chat {
    display: flex;
    flex-direction: column
}

.chat__reactions {
    width: 90%;
    margin: 2rem auto 0;
    display: flex;
    align-items: stretch;
    font-size: .95rem
}

.chat__reactions-icon {
    width: 1.2rem;
    margin-right: .2rem
}

.chat__reactions-text {
    margin-left: .5rem
}

.chat__reactions-counter {
    margin-left: 1.8rem
}

.chat__actions {
    margin-top: 1rem;
    display: flex;
    justify-content: space-around;
    font-size: 1.2rem;
    border-top: 1.4px solid #b0b0b0;
    border-bottom: .5px solid #d3d3d3
}

.chat__actions-box {
    display: flex;
    align-items: center
}

.chat__actions img {
    width: 4rem
}

.chat__conversation {
    width: 90%;
    margin: 0 auto;
    font-size: 1.1rem
}

.chat__conversation-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
    position: relative
}

.chat__conversation-box--right {
    margin-left: 20%;
    margin-bottom: 1rem
}

.chat__conversation-box-img {
    width: 3.5rem;
    border-radius: 50%;
    margin-right: 1rem;
    align-self: baseline
}

.chat__conversation-box-active {
    width: 1rem;
    height: 1rem;
    background-color: var(--color-secondary);
    border-radius: 50%;
    position: absolute;
    top: 2.5rem;
    left: 2.7rem
}

.chat__conversation-box-content-comment {
    padding: 1rem;
    background-color: #f2f3f5;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px
}

.chat__conversation-box-content-comment-name {
    color: #726695;
    font-weight: 500;
    margin-right: .4rem
}

.chat__conversation-box-content-cta {
    margin-top: .3rem;
    padding-left: 1.5rem;
    color: #726695
}

.chat__conversation-box-content-cta-text {
    margin-right: .5rem
}

.chat__conversation-box-content-cta--2 {
    font-size: .9rem
}

.chat__conversation-reply {
    margin-left: 20%;
    color: gray
}

.chat__conversation-reply--efect {
    animation: opacidad 1s infinite
}

@keyframes opacidad {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.chat__conversation-write {
    position: relative;
    margin-bottom: 2rem
}

.chat__conversation-write input {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border: none;
    background-color: #f2f3f5;
    border-radius: 100px;
    padding: .8rem;
    color: var(--color-primary);
    padding-left: 1rem;
    outline: 0
}

.chat__conversation-write-icons {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 1.2rem;
    top: 2.6rem
}

.chat__conversation-write-icons-img {
    width: 2rem;
    margin-right: .5rem;
    fill: gray
}

.chat__conversation-write-icons-img--svg {
    width: 2rem
}


.js-hidden {
    display: none !important
}

.js-display {
    display: block
}

.js-show {
    visibility: hidden !important
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ===== Professional Registration & Testimoni ===== */

:root {
    --reg-primary: #0d6efd;
    --reg-primary-dark: #0a58ca;
    --reg-accent: #00a6ff;
    --reg-success: #10b981;
    --reg-surface: #ffffff;
    --reg-muted: #64748b;
    --reg-border: #e2e8f0;
    --reg-shadow: 0 20px 50px rgba(13, 110, 253, 0.12);
    --reg-radius: 16px;
    --reg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--reg-font);
    background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 40%, #f8fafc 100%);
    min-height: 100vh;
    color: #1e293b;
}

.page-wrapper {
    width: 100%;
    padding: 0 16px 24px;
    max-width: 600px;
    margin: auto;
}

.banner-img {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: fadeSlideDown 0.7s ease-out both;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Registration Card */
.reg-container {
    animation: fadeSlideUp 0.6s ease-out 0.15s both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reg-card {
    border-radius: var(--reg-radius) !important;
    overflow: hidden;
    background: var(--reg-surface);
    box-shadow: var(--reg-shadow) !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.reg-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 60px rgba(13, 110, 253, 0.16) !important;
}

.reg-card__header {
    background: linear-gradient(135deg, var(--reg-primary) 0%, #1a8cff 50%, var(--reg-accent) 100%) !important;
    border: none !important;
    padding: 1.5rem 1.25rem 1.25rem !important;
    overflow: hidden;
}

.reg-card__header-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: headerGlow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerGlow {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(10%, 5%); }
}

.reg-card__title {
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    position: relative;
    z-index: 1;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.92; }
}

.reg-card__subtitle {
    font-size: 0.875rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.reg-card__body {
    background: var(--reg-surface);
}

/* Ticker (replaces marquee) */
.reg-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reg-ticker__track {
    display: inline-flex;
    gap: 3rem;
    animation: tickerScroll 18s linear infinite;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.95;
}

.reg-ticker__track span {
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Form Fields */
.reg-field {
    animation: fieldEnter 0.5s ease-out both;
    animation-delay: var(--delay, 0s);
}

@keyframes fieldEnter {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.reg-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--reg-primary) !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.reg-input-wrap {
    position: relative;
}

.reg-input-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--reg-primary), var(--reg-accent));
    transition: width 0.35s ease, left 0.35s ease;
    border-radius: 2px;
    pointer-events: none;
}

.reg-input-wrap:focus-within::after {
    width: 100%;
    left: 0;
}

.reg-input {
    border: 1.5px solid var(--reg-border) !important;
    border-radius: 10px !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    background: #f8fafc !important;
}

.reg-input:focus {
    border-color: var(--reg-primary) !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1) !important;
    background: #fff !important;
    outline: none;
}

.reg-input::placeholder {
    color: #94a3b8;
    font-size: 0.875rem;
}

.reg-phone-group {
    border-radius: 10px;
    overflow: hidden;
}

.reg-phone-prefix {
    background: #f1f5f9 !important;
    border: 1.5px solid var(--reg-border) !important;
    border-right: none !important;
    font-weight: 600;
    gap: 4px;
    display: flex;
    align-items: center;
}

.reg-phone-prefix img {
    height: 22px;
    border-radius: 2px;
}

.reg-phone-group .reg-input {
    border-left: none !important;
}

.reg-otp-wrap .reg-otp-input {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    padding: 1rem !important;
}

.reg-info-text {
    font-size: 0.9rem;
    color: var(--reg-muted);
    line-height: 1.6;
}

.reg-error {
    font-size: 0.85rem;
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}

/* Submit Button */
.reg-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--reg-primary) 0%, #1a8cff 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.5rem !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #fff !important;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    animation: fieldEnter 0.5s ease-out both;
    animation-delay: var(--delay, 0s);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
}

.reg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.45) !important;
    color: #fff !important;
}

.reg-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3) !important;
}

.reg-btn__text {
    position: relative;
    z-index: 1;
}

.reg-btn__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

@keyframes btnShine {
    0%   { left: -100%; }
    40%, 100% { left: 150%; }
}

/* Page Loader */
.page-loader {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-loader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--reg-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.page-loader__text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--reg-muted);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* Testimoni / Record Box */
.testimoni-section {
    animation: fadeSlideUp 0.7s ease-out 0.3s both;
}

._record-box {
    background: var(--reg-surface);
    width: 100%;
    margin-top: 24px;
    padding: 0;
    border-radius: var(--reg-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--reg-border);
    overflow: hidden;
}

.testimoni-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border-bottom: 1px solid var(--reg-border);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--reg-success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
}

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.testimoni-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.testimoni-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--reg-success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

._record-box .list-box {
    height: 220px;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0.75rem;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

._record-box .list {
    padding-top: 0;
}

._record-box .list .item {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e8edf3;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: itemFadeIn 0.5s ease-out both;
}

@keyframes itemFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

._record-box .list .item:hover {
    transform: translateX(4px) scale(1.01);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.2);
}

._record-box .list .item .record_logo {
    font-size: 0;
}

._record-box .list .item .center {
    flex: 1;
    padding-left: 0.75rem;
}

._record-box .list .item .center .h1 .number {
    color: #ff2f2f;
    margin-left: 0.25rem;
}

._record-box .list .item .record_logo img {
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

._record-box .list .item:hover .record_logo img {
    transform: scale(1.08);
}

._record-box .list .item .center .h1 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

._record-box .list .item .center .h1 .name {
    font-size: 0.9rem;
}

._record-box .list .item .center .h2 {
    font-size: 0.8rem;
    color: var(--reg-success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Testimoni carousel (if used) */
#testimoni {
    border: 1px solid var(--reg-border);
    padding: 1.25rem;
    max-height: 350px;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: var(--reg-radius);
    background: var(--reg-surface);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    animation: fadeSlideUp 0.7s ease-out 0.35s both;
}

.test {
    display: none;
    flex-direction: row;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(10px);
}

.test.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#testimoni .tests {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06) 0%, rgba(0, 166, 255, 0.08) 100%);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

#testimoni .tests:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.12);
}

#testimoni .tests span.name {
    display: block;
    font-weight: 700;
    color: var(--reg-primary);
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

#testimoni .tests span.text {
    font-size: 0.925rem;
    color: var(--reg-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .reg-card__title {
        font-size: 1.15rem;
    }

    .reg-ticker__track {
        font-size: 0.72rem;
    }

    #testimoni .tests span.name {
        font-size: 1rem;
    }

    #testimoni .tests span.text {
        font-size: 0.875rem;
    }

    ._record-box .list-box {
        height: 190px;
    }
}

/* ===== Success Page (SCCS) ===== */

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 45%, #f8fafc 100%);
}

.success-page__bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.success-page__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: orbFloat 12s ease-in-out infinite;
}

.success-page__orb--1 {
    width: 280px;
    height: 280px;
    background: rgba(13, 110, 253, 0.18);
    top: -80px;
    right: -60px;
}

.success-page__orb--2 {
    width: 220px;
    height: 220px;
    background: rgba(16, 185, 129, 0.14);
    bottom: -40px;
    left: -50px;
    animation-delay: -4s;
}

.success-page__orb--3 {
    width: 160px;
    height: 160px;
    background: rgba(0, 166, 255, 0.12);
    top: 40%;
    left: 60%;
    animation-delay: -8s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(20px, -15px) scale(1.05); }
    66%      { transform: translate(-15px, 10px) scale(0.95); }
}

.success-page__wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    animation: fadeSlideUp 0.7s ease-out both;
}

.success-card {
    background: var(--reg-surface);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(13, 110, 253, 0.14);
    border: 1px solid var(--reg-border);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--reg-primary), var(--reg-accent), var(--reg-success));
}

.success-card__icon-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
}

.success-card__icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.25);
    animation: ringPulse 2s ease-out infinite;
}

@keyframes ringPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

.success-card__icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.35);
    animation: iconPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes iconPop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}

.success-card__icon svg {
    width: 52px;
    height: 52px;
}

.success-card__circle {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 2;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: drawCircle 0.5s ease-out 0.4s forwards;
}

.success-card__check {
    stroke: #fff;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.4s ease-out 0.75s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

.success-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--reg-success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    animation: fieldEnter 0.5s ease-out 0.5s both;
}

.success-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    animation: fieldEnter 0.5s ease-out 0.55s both;
}

.success-card__phone {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--reg-primary);
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
    animation: fieldEnter 0.5s ease-out 0.6s both;
}

.success-card__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--reg-border), transparent);
    margin-bottom: 1.25rem;
}

.success-card__message,
.success-card__notice,
.success-card__status,
.success-card__steps {
    animation: fieldEnter 0.5s ease-out both;
    animation-delay: var(--delay, 0s);
}

.success-card__message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    background: #f8fafc;
    border: 1px solid var(--reg-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.85rem;
}

.success-card__message-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
}

.success-card__message p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--reg-muted);
    line-height: 1.65;
}

.success-card__message strong {
    color: #1e293b;
}

.success-card__notice {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.06) 0%, rgba(0, 166, 255, 0.08) 100%);
    border: 1px dashed rgba(13, 110, 253, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.success-card__notice-icon {
    flex-shrink: 0;
    color: var(--reg-primary);
    display: flex;
}

.success-card__notice p {
    margin: 0;
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.5;
}

.success-card__notice strong {
    color: var(--reg-primary);
}

.success-card__status {
    margin-bottom: 1.25rem;
}

.success-card__loader {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0.6rem;
}

.success-card__loader span {
    width: 8px;
    height: 8px;
    background: var(--reg-primary);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.success-card__loader span:nth-child(2) { animation-delay: 0.2s; }
.success-card__loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1); opacity: 1; }
}

.success-card__status-text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--reg-muted);
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.success-card__steps {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.success-card__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 500;
    color: #94a3b8;
    text-align: center;
    line-height: 1.3;
}

.success-card__step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.success-card__step--done .success-card__step-dot {
    background: var(--reg-success);
    border-color: var(--reg-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.success-card__step--done {
    color: var(--reg-success);
    font-weight: 600;
}

.success-card__step--active .success-card__step-dot {
    background: var(--reg-primary);
    border-color: var(--reg-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
    animation: stepPulse 1.5s ease-in-out infinite;
}

.success-card__step--active {
    color: var(--reg-primary);
    font-weight: 600;
}

@keyframes stepPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2); }
    50%      { box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.08); }
}

@media (max-width: 768px) {
    .success-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .success-card__title {
        font-size: 1.3rem;
    }

    .success-card__phone {
        font-size: 1.05rem;
    }

    .success-card__step {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

