body {
    background-color: #e8e8e8;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    direction: rtl;
}

input {
    background-color: #e8e8e8;
    height: 10%;
}

.main {
    height: 100%
}

p {
    font-size: 15px;
}

input#phone_number {
    color: black;
    margin-bottom: 5px;
}

input#pin_code {
    color: black;
    margin-bottom: 5px;
}

p.error {
    margin-bottom: 0;
}

.error {
    color: red;
}

.terms {
    background-color: #e8e8e8;
    align-items: center !important;
    direction: ltr !important;
}

.text-darken-4.grey-text {
    align-items: center !important;
}

.subscribed {
    margin: 10% auto;
}

.red-text {
    color: red;
}

.green-text {
    color: green;
}

.box {
    background-color: rgb(255, 255, 255, 1);
    width: 120%;
    padding: 50px;
    border-radius: 15px;
    margin: 15% -10%;
}

.footer {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.footer span {
    padding: 5px;
    margin: 5px;
    font-size: 16px;
}

.footer p {
    font-size: 14px;
}

footer p a {
    color: black;
}

.hide {
    display: none;
}

.operator {
    width: 100px;
    border-radius: 3px;
}

.title {
    font-size: 20px;
    color: rgb(34, 38, 42);
    line-height: 1.2;
    text-align: center;
    z-index: 6;
    padding-top: 10px;
}

.btn-cancel {
    border-radius: 10px;
    background-color: rgb(137, 137, 137);
    color: white;
    width: 150px;
    height: 40px;
    margin: 10px;
}

.btn-continue {
    border-radius: 10px;
    background-color: #7a12c1;
    color: white;
    width: 150px;
    height: 40px;
    margin: 10px;
}

.blue-date {
    color: #02639e;
}

.btn-phone {
    background-color: #7a12c1;
    color: white;
    font-size: 18px;
    width: 25%;
    margin: 10px 37.5%;
    border-radius: 10px;
    height: 40px;
    z-index: 8;
}

.number-input {
    font-size: 20px;
    color: rgba(34, 38, 42, 0.502);
    line-height: 2;
    text-align: center;
    position: relative;
    border: 1px solid black;
    border-radius: 10px;
    z-index: 7;
    width: 50%;
}

.logo {
    background-color: #7a12c1;
}

.logo img {
    width: 200px;
    height: 80px;
}

@media only screen and (max-width: 960px) {
    .btn-phone {
        width: 30%;
        margin: 10px 32.5%;
    }

    .box {
        padding: 10px;
        margin: 50% auto;
        width: 100%;
    }
}

@media only screen and (max-width: 720px) {
    .logo img {
        width: 170px;
        height: 60px;
    }

    .footer span {
        font-size: 12px;
    }

    footer p a {
        font-size: 12px;
    }

    .box {
        padding: 10px;
        margin: 30% auto;
    }

    .number-input {
        width: 75%;
    }

    .btn-phone {
        width: 50%;
        margin: 10px 25%;
    }

    .btn-cancel {
        width: 100px;
    }

    .btn-continue {
        width: 100px;
    }
}

@media only screen and (max-width: 540px) {
    p {
        font-size: 14px !important;
    }

    .footer span {
        font-size: 13px;
    }

    .box {
        margin: 20% auto;
    }
}

@media only screen and (max-height: 540px) {
    .footer {
        bottom: auto;
    }

    .box {
        margin: 10% auto;
    }
}
