/* =========================================
   ICHETS REGISTRATION — MODERN GREEN & ORANGE
   ========================================= */

:root {
    --ichets-green: #176b45;
    --ichets-green-dark: #105236;
    --ichets-green-light: #eaf6ef;
    --ichets-orange: #f28c28;
    --ichets-orange-light: #fff3e5;
    --ichets-text: #183329;
    --ichets-muted: #687b70;
    --ichets-white: #ffffff;
}

/* OVERLAY */
.ichets-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    box-sizing: border-box;

    background: rgba(10, 35, 24, 0.68);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    animation: ichets-overlay-enter 0.25s ease-out;
}

/* MODAL CARD */
.ichets-modal {
    position: relative;
    overflow: hidden;

    box-sizing: border-box;
    width: 100%;
    max-width: 440px;

    padding: 38px 32px 30px;

    background: var(--ichets-white);
    color: var(--ichets-text);

    border: 1px solid rgba(23, 107, 69, 0.08);
    border-radius: 24px;

    text-align: center;
    font-family: inherit;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.20),
        0 8px 24px rgba(23, 107, 69, 0.12);

    animation: ichets-modal-enter 0.3s
        cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* GREEN TOP ACCENT */
.ichets-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 7px;

    background: linear-gradient(
        90deg,
        var(--ichets-green) 0%,
        #36a66e 65%,
        var(--ichets-orange) 100%
    );
}

/* DECORATIVE BACKGROUND */
.ichets-modal::after {
    content: "";
    position: absolute;

    top: -65px;
    right: -65px;

    width: 155px;
    height: 155px;

    border-radius: 50%;
    background: var(--ichets-green-light);

    opacity: 0.8;
    pointer-events: none;
}

/* WARNING ICON */
.ichets-modal-icon {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 23px;

    border: 8px solid var(--ichets-orange-light);
    border-radius: 50%;

    background: var(--ichets-orange);
    color: var(--ichets-white);

    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;

    box-shadow: 0 8px 22px rgba(242, 140, 40, 0.2);
}

/* HEADING */
.ichets-modal h2 {
    position: relative;
    z-index: 1;

    margin: 0 0 14px;

    color: var(--ichets-green-dark);

    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.6px;
}

/* DESCRIPTION */
.ichets-modal p {
    position: relative;
    z-index: 1;

    margin: 0 0 27px;

    color: var(--ichets-muted);

    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

/* BUTTON */
.ichets-modal button {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;

    padding: 15px 24px;

    border: 0;
    border-radius: 12px;

    background: var(--ichets-green);
    color: var(--ichets-white);

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;

    cursor: pointer;

    box-shadow: 0 6px 16px rgba(23, 107, 69, 0.20);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* BUTTON HOVER */
.ichets-modal button:hover {
    background: var(--ichets-green-dark);

    transform: translateY(-2px);

    box-shadow: 0 9px 22px rgba(23, 107, 69, 0.26);
}

/* BUTTON ACTIVE */
.ichets-modal button:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(23, 107, 69, 0.18);
}

/* ACCESSIBILITY */
.ichets-modal button:focus-visible {
    outline: 3px solid var(--ichets-orange);
    outline-offset: 4px;
}

/* ANIMATIONS */
@keyframes ichets-overlay-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes ichets-modal-enter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* TABLET & MOBILE */
@media (max-width: 600px) {
    .ichets-modal-overlay {
        padding: 20px;
    }

    .ichets-modal {
        max-width: 390px;
        padding: 34px 24px 25px;
        border-radius: 21px;
    }

    .ichets-modal-icon {
        width: 68px;
        height: 68px;

        margin-bottom: 20px;
        border-width: 7px;

        font-size: 34px;
    }

    .ichets-modal h2 {
        font-size: 22px;
        letter-spacing: -0.4px;
    }

    .ichets-modal p {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.75;
    }

    .ichets-modal button {
        min-height: 50px;
        border-radius: 11px;
        font-size: 14px;
    }
}

/* SMALL MOBILE */
@media (max-width: 360px) {
    .ichets-modal-overlay {
        padding: 14px;
    }

    .ichets-modal {
        padding: 30px 19px 22px;
        border-radius: 18px;
    }

    .ichets-modal h2 {
        font-size: 20px;
    }

    .ichets-modal p {
        font-size: 13px;
    }
}

/* REDUCE MOTION */
@media (prefers-reduced-motion: reduce) {
    .ichets-modal-overlay,
    .ichets-modal {
        animation: none;
    }

    .ichets-modal button {
        transition: none;
    }
}