.botton-register-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);

    margin: 50px auto;
    max-width: 800px;
    width: 90%;

    min-height: clamp(100px, 10vw, 170px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botton-register-container:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.go-and-register {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.triple-box-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fffbf0;
    background-color: #ff4500;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.triple-box-button:hover {
    background-color: #ff6347;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.arrow {
    font-size: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.triple-box-button:hover .arrow.left {
    transform: translateX(-5px);
}

.triple-box-button:hover .arrow.right {
    transform: translateX(5px);
}
.triple-image-container {
    margin: 10px;
    margin-top: 20px;
    width: 150px;
    height: 150px;
    align-self: center;
    display: flex; /* ✅ исправлено */
    justify-content: center;
    align-items: center;
}

.triple-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* масштабирует без обрезки */
    border-radius: 10px; /* по желанию */
}

body.dark-theme .one-box-container p {
    color: var(--text-color-strong);
}

body.dark-theme .triple-image-container img {
    filter: brightness(0.9) contrast(1.06) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}
body.dark-theme .triple-image-container {
    background: linear-gradient(145deg, #ccd4de 0%, #b4c0cd 100%);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}


/* Three equal steps, with smaller rounded illustrations. */
.triple-box-container.registration-steps { justify-content: center; gap: 24px; margin: 12px auto; min-width: 0; }
.registration-steps .one-box-container { flex: 1 1 250px; display: grid; grid-template-rows: 136px 52px 1fr; align-items: start; margin: 0; padding: 20px; border-radius: 18px; }
.registration-steps .triple-image-container { width: 112px; height: 112px; margin: 4px auto 0; padding: 0; overflow: hidden; border-radius: 16px; }
.registration-steps .triple-image-container img { display: block; width: 100%; height: 100%; border-radius: 16px; object-fit: contain; }
.registration-steps .triple-title { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin: 0; text-align: center; font-size: 21px; line-height: 1.3; }
.registration-steps .one-box-container p { margin: 0; padding: 4px 0; text-align: left; }
@media (max-width: 700px) { .registration-steps .one-box-container { flex: 1 1 220px; } }
body.dark-theme .registration-steps .triple-image-container { padding: 0; }


/* Quiet registration invitation below the three steps. */
.botton-register-container.steps-register-cta { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 24px; width: 100%; max-width: none; min-height: 0; margin: 28px 0 0; padding: 24px 28px; text-align: left; background: #f3f9fb; border: 1px solid #d7e8ee; border-radius: 18px; box-shadow: none; transform: none; }
.botton-register-container.steps-register-cta:hover { transform: none; box-shadow: none; }
.steps-register-cta-copy { max-width: 580px; }
.steps-register-cta .go-and-register { display: block; margin: 0 0 5px; color: #183a49; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; text-shadow: none; }
.steps-register-cta-copy p { margin: 0; color: #496371; font-size: 15px; line-height: 1.5; }
.steps-register-cta .triple-box-button { flex: 0 0 auto; min-height: 48px; padding: 11px 22px; border: 1px solid #ff4500; border-radius: 11px; background: #ff4500; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.2; box-shadow: none; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.steps-register-cta .triple-box-button:hover { background: #e63e00; border-color: #e63e00; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(180,62,0,.18); }
.steps-register-cta .triple-box-button:active { transform: translateY(0); box-shadow: none; }
.steps-register-cta .triple-box-button:focus-visible { outline: 3px solid rgba(255,111,41,.38); outline-offset: 3px; }
body.dark-theme .botton-register-container.steps-register-cta,
body.dark-theme .botton-register-container.steps-register-cta:hover { background: #203545; border-color: #36586a; box-shadow: none; }
body.dark-theme .steps-register-cta .go-and-register { color: #eef8fb; }
body.dark-theme .steps-register-cta-copy p { color: #c4d8e1; }
body.dark-theme .steps-register-cta .triple-box-button { background: #cc3700; border-color: #cc3700; color: #fff; box-shadow: none; }
body.dark-theme .steps-register-cta .triple-box-button:hover { background: #e64500; border-color: #e64500; box-shadow: 0 6px 14px rgba(0,0,0,.24); }
@media (max-width: 700px) { .botton-register-container.steps-register-cta { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; } .steps-register-cta .triple-box-button { align-self: flex-start; } }
@media (prefers-reduced-motion: reduce) { .steps-register-cta .triple-box-button { transition: none; } }

.steps-register-cta .triple-box-button, .steps-register-cta .triple-box-button:hover, .steps-register-cta .triple-box-button:focus-visible, .steps-register-cta .triple-box-button:active { color: #fff !important; }
