@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;800&display=swap");

:root {
    --theme__background-color: ;
    --theme__stepper-bg-color: #dcdcdc;
    --theme__stepper-text-color: #444444;
    --theme__primary-button-bg-color: #1c9760;
    --theme__primary-button-text-color: #ffffff;
    --theme__footer-color: #a6b9b6;
    --theme__logo-background: #ffffff;
    --theme__step-active-color: #1c9760;
    --theme__step-active-text: #ffffff;
    --theme__step-color: #015e4b;
    --theme__step-text: #9ad3cd;
    --theme__background-pattern: url("../imgs/pattrentBG.png");
}

body {
    background: var(--theme__background-color) var(--theme__background-pattern);
    font-family: "Tajawal", sans-serif;
    position: relative;
    padding: 0;
    margin: 0;
    color: var(--theme__footer-color);
}
a{
    color: var(--theme__footer-color) !important;
    font-weight: bold;
}

button.btn-edit{
    color: var(--theme__footer-color) !important;
}
#amount {
    font-size: 14px;
    font-weight: 400;
}

#amount strong {
    font-size: 18px;
}

#card-btn {
    background-color: #1c9760;
    color: #fff;
    position: absolute;
    bottom: -55px;
    right: calc(50% - 75px);
    width: 150px;
    border-radius: 8px;
    height: 42px;
    font-size: 18px;
    font-weight: 400;
    outline: none;
    border: none;
    cursor: pointer;
    font-family: "Tajawal", sans-serif;
}

.card-btn2 {
    width: 95px;
    border-radius: 8px;
    height: 42px;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    border: none;
    cursor: pointer;
    margin: 0 15px;
    font-family: "Tajawal", sans-serif;
    background-color: transparent;
    color: #ffffff5e;
}

.btn-pay {
    background-color: var(--theme__primary-button-bg-color);
    color: var(--theme__primary-button-text-color);
    width: 180px;
    margin-top: 15px;
}

a {
    color: #ffffff35;
    text-decoration: none;
}

#card-cvc {
    width: 60px;
    margin-bottom: 0;
}

#card-front,
#card-back {
    position: absolute;
    background-color: #d9d8db;
    width: 390px;
    height: 250px;
    border-radius: 15px;
    padding: 20px 30px 0;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}
/* top : 0-40 right : 0 0   Good both 20 - 55*/
#card-front {
    top: 20px;
    left: 55px;
    z-index: 5;
}
#card-back {
    top: 20px;
    right: 55px;
    z-index: 4;
}

#card-front label {
    opacity: 0.6;
}

#card-image {
    float: right;
    height: 100%;
}

#card-image i {
    font-size: 40px;
}

#card-month {
    width: 28px !important;
}

#card-number,
#card-holder {
    width: 100%;
}
#card-number {
    text-align: center;
    letter-spacing: 10px;
}

#card-stripe {
    width: 100%;
    height: 55px;
    background-color: #223648;
    position: absolute;
    right: 0;
}

#card-success {
    color: #00b349;
}

#card-token {
    display: none;
}

#card-year {
    width: 45px;
    float: right;
}

#cardholder-container {
    width: 55%;
    display: inline-block;
}

#cvc-container {
    position: absolute;
    width: 110px;
    right: 0px;
    bottom: 24px;
    padding-left: 20px;
    box-sizing: border-box;
}

#cvc-container label {
    width: 100%;
}

#cvc-container p {
    font-size: 11px;
    opacity: 0.6;
}

#form-container {
    margin: auto;
    width: 500px;
    height: 290px;
    position: relative;
}

#form-errors {
    color: #eb0000;
}

#form-errors,
#card-success {
    background-color: white;
    width: 390px;
    text-align: center;
    margin: 10px auto 0;
    /*height: 50px;*/
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 400;
    box-sizing: border-box;
    line-height: 46px;
    letter-spacing: 0.5px;
    text-transform: none;
}

#form-errors p,
#card-success p {
    margin: 0 5px;
    display: inline-block;
}

#form-errors div,
#card-success div {
    color: #c4c4c4;
}

#exp-container {
    margin-left: 10px;
    width: 25%;
    display: inline-block;
}

.hidden {
    display: none;
}

#image-container {
    width: 100%;
    position: relative;
    height: 55px;
    margin-bottom: 5px;
    line-height: 55px;
}

#image-container img {
    position: absolute;
    right: 0;
    top: 0;
}

input {
    border: #d9d8db 2px solid !important;
    /*outline: none;*/
    background-color: #efefef;
    height: 30px;
    line-height: 30px;
    padding: 0 3px;
    text-align: center;
    margin: 0 0 25px;
    color: #333;
    font-size: 13px;
    box-sizing: border-box;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

input::-webkit-input-placeholder {
    color: #555;
    opacity: 0.4;
    font-weight: 300;
    font-size: 12px;
}

input:-moz-placeholder {
    color: #fff;
    opacity: 0.7;
    font-weight: 300;
    font-size: 10px;
}

input::-moz-placeholder {
    color: #fff;
    opacity: 0.7;
    font-weight: 300;
    font-size: 12px;
}

input:-ms-input-placeholder {
    color: #fff;
    opacity: 0.7;
    font-weight: 300;
    font-size: 12px;
}

input.invalid {
    border: solid 1px #eb0000;
}

label {
    display: block;
    margin: 0 auto 7px;
}

#shadow {
    position: absolute;
    right: 111px;
    width: 290px;
    height: 214px;
    top: -5px;
    background-color: #0000;
    z-index: 3;
    border-radius: 17px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    display: none;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    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-color: rgba(255, 255, 255, 0.6);
}

/* :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 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(137, 122, 155, 1) 1.5em 0 0 0,
        rgba(137, 122, 155, 1) 1.1em 1.1em 0 0,
        rgba(137, 122, 155, 1) 0 1.5em 0 0,
        rgba(137, 122, 155, 1) -1.1em 1.1em 0 0,
        rgba(137, 122, 155, 0.5) -1.5em 0 0 0,
        rgba(137, 122, 155, 0.5) -1.1em -1.1em 0 0,
        rgba(137, 122, 155, 1) 0 -1.5em 0 0,
        rgba(137, 122, 155, 1) 1.1em -1.1em 0 0;
    box-shadow: rgba(137, 122, 155, 1) 1.5em 0 0 0,
        rgba(137, 122, 155, 1) 1.1em 1.1em 0 0,
        rgba(137, 122, 155, 1) 0 1.5em 0 0,
        rgba(137, 122, 155, 1) -1.1em 1.1em 0 0,
        rgba(137, 122, 155, 1) -1.5em 0 0 0,
        rgba(137, 122, 155, 1) -1.1em -1.1em 0 0,
        rgba(137, 122, 155, 1) 0 -1.5em 0 0,
        rgba(137, 122, 155, 1) 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);
    }
}

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

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}
#PDF {
    text-align: center;
}
#PDF p {
    padding: 5px 10px;
}

.swal2-container {
    direction: rtl !important;
}
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel,
.swal2-deny {
    font-weight: 400;
    font-size: 16px;
    padding: 10px 24px;
    font-family: "Tajawal", sans-serif;
}
.swal-title {
    color: #444;
}
.swal2-styled.swal2-cancel {
    background-color: rgb(230, 230, 230) !important;
    color: #444 !important;
}
.swal2-styled.swal2-confirm:focus {
    box-shadow: none !important;
}
.swal2-styled.swal2-confirm,
.swal2-styled.swal2-confirm:active,
.swal2-styled.swal2-confirm:not([disabled]):hover {
    background-color: var(--theme__primary-button-bg-color) !important;
}

.PDFv {
    padding: 5px;
    margin: 10px 10px 20px 10px;
    border-radius: 10px;
    background-color: #ffffff;
    height: 400px;
}
.PDFv iframe {
    border-radius: 7px;
    height: 400px;
    margin: 0;
    border: 0;
    width: 100%;
}

.choose {
    display: none;
    text-align: center;
}
div.help {
    text-align: center;
    margin-top: 35px;
    font-size: 15px;
    cursor: pointer;
    color: #ffffff75;
    float: left;
    width: 300px;
}
#DaCard {
    display: none;
    padding: 20px;
    margin: 25px auto 0 auto;
    background: #efefef;
    border-radius: 10px;
    width: 300px;
}

#Success {
    direction: rtl;
    padding: 20px;
    text-align: center;
    margin: 25px auto 0 auto;
    background: #efefef;
    border-radius: 10px;
    width: 300px;
    color: #555;
}
#Success h3 {
    color: #0b715c;
    font-size: 23px;
}
#Success p {
    font-size: 18px;
    line-height: 33px;
}
#Success span {
    color: #999;
    font-size: 10px;
}

#DaCard * {
    font-family: "Tajawal", sans-serif !important;
}

#DaCard input {
    border: transparent 2px solid !important;
}

#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-input:focus,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-input[type="text"]:focus,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-input:focus.mysr-form-input:hover,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-input[type="text"]:focus.mysr-form-input[type="text"]:hover {
    border: 2px solid #39b9ab !important;
    box-shadow: none !important;
}

#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-inputError,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-inputError[type="text"],
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-inputError:hover,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    input.mysr-form-inputError[type="text"]:hover {
    background-color: #ff000021 !important;
    border: 2px red solid !important;
    box-shadow: none !important;
}

.mysr-form-input.mysr-form-inputError {
    border-bottom: none !important;
}

.mysr-form-button {
    height: 43px !important;
}

.mysr-form-method .mysr-form-button {
    background-color: var(--theme__primary-button-bg-color) !important;
    color: var(--theme__primary-button-text-color) !important;
}
.mysr-form-footer,
.mysr-form-inputGroup:first-child label {
    display: none !important;
}

.mysr-form-method {
    display: none;
    margin-top: -20px;
}
.mysr-form-dividerParagraph {
    display: none;
}

#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    .mysr-form-mada,
#mysr-form-form-el#mysr-form-form-el#mysr-form-form-el.mysr-form-moyasarForm[payment-form="true"]
    .mysr-form-mada:hover {
    background-color: #ccc;
    border-color: unset;
    color: rgb(63, 63, 63);
    height: 38px !important;
    background-size: 23%;
}
.mysr-form-mada {
    background-image: url("../imgs/Mada_Logo.svg");
    background-position: center;
    background-repeat: no-repeat;
    height: 17px;
    margin: 2px 0;
}

::-webkit-input-placeholder {
    /* Edge */
    font-size: 16px !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    font-size: 16px !important;
}

::placeholder {
    font-size: 16px !important;
}

.Whatsapp {
    width: 45px;
    display: block;
    height: 45px;
    position: fixed;
    bottom: 7px;
    right: 7px;
    text-align: center;
    color: #fff;
}

.dirRTL {
    direction: rtl;
    font-family: "Tajawal", sans-serif;
}

.table th,
.table td {
    padding: 0.75rem 0;
    text-align: right;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
