/* ===== VARIANT 1: Red-Orange Theme ===== */
/* Accent: #e84040 (red-orange), Background: #fff0f0 (light pink), Footer/Header: #ffd6d6 */

@keyframes btnanimate {
    0% {
        transform: scale(1.2);
        border-radius: 50px;
        box-shadow: 0 0 0 0 rgba(255, 135, 135, 0.7), 0 0 0 0 rgba(214, 48, 48, 0.7);
    }
    40% {
        box-shadow: 0 0 0 50px rgba(255, 135, 135, 0), 0 0 0 0 rgba(226, 112, 112, 0.7);
    }
    80% {
        box-shadow: 0 0 0 50px rgba(255, 135, 135, 0), 0 0 0 30px rgba(214, 48, 48, 0);
    }
    100% {
        box-shadow: none;
    }
}

@-webkit-keyframes btnanimate {
    0% {
        -webkit-transform: scale(1.2);
        -webkit-border-radius: 50px;
        -webkit-box-shadow: 0 0 0 0 rgba(255, 135, 135, 0.7), 0 0 0 0 rgba(214, 48, 48, 0.7);
    }
    40% {
        -webkit-box-shadow: 0 0 0 50px rgba(255, 135, 135, 0), 0 0 0 0 rgba(226, 112, 112, 0.7);
    }
    80% {
        -webkit-box-shadow: 0 0 0 50px rgba(255, 135, 135, 0), 0 0 0 30px rgba(214, 48, 48, 0);
    }
    100% {
        -webkit-box-shadow: none;
    }
}

* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

:focus,
:active {
    /*outline: none;*/
}

a:focus,
a:active {
    /* outline: none;*/
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

/* ----------------------------------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    background: #fff0f0;
    color: #333;
    background-repeat: no-repeat;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
}

/* ------------------header----------------------- */

header {
    display: none;
    align-items: center;
    justify-content: center;
    background: #ffd6d6;
    margin: -10px -10px 0;
    max-width: 900px;
    padding-bottom: 16px;
    min-height: 47px;
}

.header__inner {
    display: none;
}

.images {
    display: flex;
    flex-direction: column;
}

.icons {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

.icons img {
    width: 100%;
    max-width: 292px;
    margin: 10px auto;
}

.pict {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.pict img {
    width: 100%;
    max-width: 200px;
    margin: 15px auto;
}

.step {
    max-width: 400px;
    margin: 0 auto;
}

.step__inner {
    display: flex;
    gap: 15px;
}

.step__title {
    padding-bottom: 10px;
}

.step__line {
    width: 100%;
    height: 3px;
    background: rgb(0, 0, 0, 0.15);
}

.step-field {
    background: #e84040;
}

/* ------------------lang----------------------- */
.lang {
    display: flex;
    gap: 10px;
    color: #fff;
}

.lang span {
    font-size: 20px;
    color: #fff;
}

.lang-switcher-item {
    color: #333;
    padding: 5px;
}

.lang-switcher-focus {
    border: 1px solid #e84040;
}

/* ---------------------------------------------------- */
.wrapper {
    padding: 0 20px;
    max-width: 510px;
    margin: 0 auto;
}

.terms__title {
    display: none;
    font-size: 15px;
    cursor: pointer;
}

/* ---------------------------------------------------- */

.content-terms {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000000a8;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 0;
    z-index: 11;
}

.content-terms__box {
    margin-top: 5%;
    position: relative;
    max-width: 320px;
    max-height: 90vh;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    overflow-y: auto;
}

.close {
    font-size: 18px;
    color: rgb(255, 255, 255);
    position: fixed;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.terms-conditions {
    cursor: pointer;
}

.terms-conditions p {
    padding: 5px 0;
}

.exit__link {
    display: none;
    font-size: 12px;
    color: gray;
    margin-top: 15px;
    text-decoration: underline;
}

/* ---------------------------------------------------- */
.main__logo-icon {
    width: 180px;
    height: 180px;
    margin: 20px auto;
    position: relative;
}

.main__icon-progress {
    width: 100%;
    height: 100%;
    position: relative;
}

.icon-progress__bg {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
}

.meter-1 {
    stroke-dasharray: 628;
    stroke-dashoffset: 628;
    stroke: #e84040;
    stroke-width: 14px;
    animation: progress-circle 1.3s ease-in-out forwards;
}

@keyframes progress-circle {
    0% {
        stroke-dashoffset: 628;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.progress_arrow {
    width: 105px;
    height: auto;
    opacity: 0;
    animation:
        arrow-appear 0.5s ease-in-out 1.4s forwards,
        bounce 2s ease-in-out 1.9s infinite;
}

@keyframes arrow-appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.main__icon-value {
    color: #e84040;
    font-weight: 600;
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main__icon-value::after {
    content: "0%";
    animation:
        counter 1.3s linear forwards,
        fadeOut 0.5s ease-in-out 1.3s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes counter {
    0% { content: "0%"; }
    5% { content: "5%"; }
    10% { content: "10%"; }
    15% { content: "15%"; }
    20% { content: "20%"; }
    25% { content: "25%"; }
    30% { content: "30%"; }
    35% { content: "35%"; }
    40% { content: "40%"; }
    45% { content: "45%"; }
    50% { content: "50%"; }
    55% { content: "55%"; }
    60% { content: "60%"; }
    65% { content: "65%"; }
    70% { content: "70%"; }
    75% { content: "75%"; }
    80% { content: "80%"; }
    85% { content: "85%"; }
    90% { content: "90%"; }
    95% { content: "95%"; }
    100% { content: "100%"; }
}

/* -------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    width: 100%;
    text-align: center;
}

.modal-title {
    font-size: 20px;
    color: #000;
}

.operator-item {
    margin: 20px 0;
    width: 100%;
    border: 1px solid #e84040;
    padding: 10px;
    border-radius: 10px;
    color: #1b1b1b;
}

.pin-validate,
.main-input {
    position: relative;
    margin-top: 40px;
}

.input-pin__title,
.main-input__title {
    font-size: 18px;
    text-align: center;
    margin: 16px auto;
    padding: 0 0 10px;
    font-weight: bold;
    line-height: 20px;
}

.main-input__title {
    animation: fadeIn 1s ease-in-out 2s forwards;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

.input-number {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

#msisdn::placeholder {
    color: #333;
}

.main-input__input,
.inputHolder {
    color: #333;
    width: 100%;
    display: flex;
    align-items: center;
    float: none;
    margin: 10px auto 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    height: 50px;
}

.main-input__input {
    max-width: 260px;
    gap: 0;
    margin-top: 0;
    padding-left: 10px;
    font-size: 24px;
    font-weight: bold;
    overflow: hidden;
    background-color: #fff;
}

.main-input__input input,
.numeric {
    width: 80%;
    height: 50px;
    color: #333;
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    padding: 8px;
    padding-right: 10px;
    padding-left: 0;
    background-color: #fff;
}

.main-input__input input::placeholder {
    padding-left: 5px;
    text-align: left;
    color: #ccc;
    font-weight: 600;
    font-size: 24px;
}

.inputHolder {
    max-width: 260px;
    overflow: hidden;
    background-color: #fff;
    padding: 0 0 0 10px;
}

.inputHolder .numeric {
    width: 100%;
}

#country-code {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 23px;
    padding-right: 2px;
}

select:active,
select:focus {
    outline: none;
}

.pin-generate {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form {
    max-width: 400px;
    margin: auto;
}

.main__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    font-family: 'Noto Sans Arabic', Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    background: -moz-linear-gradient(90deg, #e84040 0%, #ff7043 100%);
    background: -webkit-linear-gradient(90deg, #e84040 0%, #ff7043 100%);
    background: linear-gradient(90deg, #e84040 0%, #ff7043 100%);
    background-color: #e84040;
    animation: btnanimate 2s linear infinite;
    -webkit-animation: btnanimate 2s linear infinite;
    -moz-animation: btnanimate 2s linear infinite;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    height: 50px;
    max-width: 230px;
    margin: 0 auto;
}

.btn:hover {
    background: -moz-linear-gradient(20deg, #c62828 15%, #ff8a65 100%);
    background: -webkit-linear-gradient(20deg, #c62828 15%, #ff8a65 100%);
    background: linear-gradient(20deg, #c62828 15%, #ff8a65 100%);
    background-color: #c62828;
}

.btn:active {
    transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
}

.btn._disabled,
.disabled_btn {
    cursor: pointer;
    background: linear-gradient(90deg, #c0c0c0 0%, #c0c0c0 100%);
    background-color: #c0c0c0;
    animation: none;
    -webkit-animation: none;
    -moz-animation: none;
}

.exit {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    color: #000;
    border: 1px solid #e84040;
}

.phone {
    background: url(../img/phone.svg) no-repeat center;
    width: 16px;
    height: 28px;
    margin-right: 12px;
}

.response {
    color: red;
    text-align: center;
    font-size: 16px;
}

.name {
    display: none;
    font-size: 13px;
    text-align: center;
}

.main__btn {
    width: 100%;
}

.main__text {
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
}

.formRow {
    text-align: center;
    padding: 2px 16px;
    color: black;
    font-weight: 500;
    border-radius: 5px;
    margin-top: 10px;
}

.formRow label {
    color: #212529;
    font-weight: 500;
    margin: 1em 0;
}

.price {
    margin-top: 1rem;
    margin-bottom: 20vh;
    font-size: 10px;
    text-align: center;
}

#success-text {
    margin-top: 2rem;
    color: #000;
    text-align: center;
}

#blocked-text,
#response-text {
    color: red;
    font-weight: bold;
}

.formHolder,
.sliderHolder {
    text-align: center;
    margin-bottom: 25px;
}

.pageHolder {
    padding: 30px 0;
}

.logo img {
    width: 100%;
    display: inline-block;
}

.formSubTitle {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000000;
}

.labelHolder label,
.labelHolders label {
    font-size: 16px;
}

#pin-code {
    font-size: 28px;
}

.inputHolder.selectHolder select {
    -webkit-appearance: none;
}

.submitBtn {
    text-align: center;
}

.success-image {
    width: 100px;
    margin: 20px auto;
}

.checkmark-container {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 6px;
}

.checkmark__icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #e84040;
    animation:
        fill 0.4s ease-in-out 0.4s forwards,
        scale 0.3s ease-in-out 0.9s both;
}

.checkmark__check {
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    -webkit-animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px #e84040;
    }
}

/* -----------------footer----------------------------------- */

.footer {
    margin: auto -10px -10px;
    padding: 20px;
    color: #000;
    text-align: center;
    background: #ffd6d6;
}

.footer__title {
    font-weight: bold;
    font-size: 14px;
}

.footer__text {
    font-size: 10px;
}

.footer__text a {
    color: #999;
}

/* ----------------------modal---------------------------------------------- */

@media (max-width: 500px) {
    .main__btn,
    .submitBtn {
        width: 100%;
    }

    .pin-generate {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .main__btn a {
        font-size: 20px;
    }
}

/* header update */
.header__center {
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.creative-img {
    display: block;
    height: 64px;
    object-fit: contain;
}

.header-desc-wrapper {
    text-align: left;
    padding-top: 5px;
}

.file-detail-wrapper {
    font-size: 12px;
}

.file-status {
    font-size: 16px !important;
    font-weight: bold;
    margin-bottom: 5px;
}

.file-detail-wrapper .name {
    text-align: left;
}
