:root {
    --primary-color: #01adef;
    --white-color: #fff;
    --black-color: #000;
    --blue-color: #00c5e7;
    --border-color: #28282840;
    --red-color: #e21e22;
    --lightbrown-color: #757575;
    --pink-background: #ff49b0;
    --gold-color: var(--primary-color);
    --green: #7130c3;
}

.con-code {
    display: flex;
    gap: 10px;
}

@media (max-width: 576px) {
    .cont-reg {
        padding: 0;
    }

    .for-passs {
        font-size: 22px !important;
    }
}

.main-form-page {
    /* position: relative; */
    display: flex;
    align-items: center;
    /* z-index: 1; */
    width: 100%;
    height: 100vh;
    padding: 70px 0;
    /* background: #111111; */
    background-image: url("../../uploads/crypto-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.main-form-register{
    height: 100% !important;
}
.main-page2-forget {
    padding: 100px 0 !important;
}

/* .main-form-page::after {
    position: absolute;
    content: '';
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../uploads/crypto-bg.jpg");
    background-position: center;
    background-repeat:no-repeat;
    background-size: cover;
    background: #111111;
} */

.section {
    height: 100vh;
    width: 100%;
    padding: 50px 25px;
    position: relative;
    /* text-align: center; */
}

@media (max-width:576px) {
    .section {
        padding: 10px 10px;
        height:100%;
    }

    .main-form-page {
        padding: 10px 0;
    }
    .main-form-register{
        height: 100%;
    }
}

.panel-form {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(140deg, #a58646c7, transparent);
    border: 1px solid transparent;
    border-radius: 10px;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 7px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin-left: 2px !important;
    font-size: 16px;
}


/* .section::after {
  position: absolute;
  content: "";
  height: 552px;
  width: 706px;
  bottom: 0;
  right: 36px;
  background-image: url("../../uploads/trading-left.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  transform: rotate(358deg);
} */


/* .main-form-page::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
  background-image: url("../../uploads/bg-trading.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  filter: brightness(0.5);
} */

@media (max-width: 1200px) {
    .section::before {
        background-position: center;
    }
}

.sub-title {
    max-width: 400px;
}

.section::after {
    height: 467px;
    width: 628px;
    bottom: 40px;
    right: 10px;
}

@media (max-width: 768px) {
    .section::after {
        width: 100%;
        height: 100%;
        transform: rotate(0deg);
        bottom: 0px;
        left: 0px;
        background-position: bottom;
    }
}

@media (max-width: 576px) {
    .cont-reg {
        align-items: start !important;
    }

    .sub-title {
        margin-top: 43px !important;
    }

    .forgot-sub-title {
        margin-top: 90px !important;
    }
}

@media(max-width:992px) {
    .section::after {
        display: none;
    }

    .cont-reg {
        justify-content: center !important;
    }
}

.login-heading {
    display: flex;
    align-items: center;
}

.main-form-page .left img {
    height: 52px;
    width: auto;
}

.main-form-page .left h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

.main-form-page .left p {
    font-size: 14px;
    font-weight: 200;
    color: var(--white-color);
    line-height: 18px;
}

.main-form-page .right {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}

.form-design {
    display: flex;
    justify-content: center;
}

.sub-title .login-heading img {
    height: 80px;
    width: auto;
}

.sub-title {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* background: #0f1021; */
    background: #000000 !important;
    padding: 45px 30px;
    max-width: 440px;
    width: 100%;
    margin: 20px 0;
    border: 2px solid #ecc762;
}

.form-set {
    justify-content: center;
}

@media (max-width: 576px) {
    .sub-title {
        padding: 20px 10px 20px !important;
        width: 100% !important;
    }

    .form-design {
        display: initial;
    }

    .background_pic_form {
        display: flex;
        justify-content: center;
    }

    label.remember-1 {
        margin: 0;
    }

    .m-0.remem-1 {
        padding-bottom: 0px !important;
        font-size: 13px;
    }

    .forget-pass {
        font-size: 13px !important;
    }
}

@media (max-width: 345px) {
    .for_get {
        flex-direction: column;
        gap: 10px;
        align-items: start;
    }
}

.login-heading h4 {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    text-align: start;
    margin-bottom: 0;
}

.login-heading p {
    text-align: center;
    color: var(--black-color);
}

.user-field {
    position: relative;
}

.user-field i {
    position: absolute;
    top: 42px;
    font-size: 15px;
    right: 13px;
    color: #ffffff;
}


/* .form-control:focus {
  border: 1px solid white !important;
  background: transparent;
} */

.form-control::placeholder {
    color: #fff !important;
}

.password-field {
    position: relative;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s;
    -webkit-text-fill-color: #fff !important;
}


/* .form-control {
  width: 100%;
  padding: 7px 30px 7px 11px;
  border-radius: 0px;
  border: none;
  border: 1px solid #ffffff;
  outline: none;
  font-weight: 500;
  font-size: 14px;
  height: 42px;
  background-color: transparent !important;
  color: var(--white-color) !important;
  border-radius: 12px !important;
} */

.form-control {
    padding: 10px 10px;
    height: auto;
    border-top: none;
    border-right: none;
    border-left: none;
    box-shadow: none;
    border-radius: 0px;
    background: linear-gradient(47deg, #000000cc, #6e5727, #000000cc);
    border-radius: 7px;
    border: none;
    color: #ffffff;
    padding-right: 35px;
    border: 1px solid #a78848;
}

.form-control:disabled,
.form-control[readonly] {
    background: #000000ab;
    opacity: 1;
}

.register-titlee {
    padding: 32px 30px;
}

.password-field i {
    position: absolute;
    top: 42px;
    font-size: 15px;
    right: 9px;
    color: #ffffff;
    cursor: pointer;
}

.main-remember {
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
}

.forget-pass {
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    color: var(--white-color);
}

.forget-pass:hover {
    color: #ecc762;
}

.form-check-label {
    color: #fff;
}

.forget-pass {
    transition: all 0.3s linear;
}

.login-btn {
    margin-top: -20px;
    /* width: 70%; */
    display: flex;
    justify-content: center;
    align-items: center;
}

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

input[type="number"] {
    -moz-appearance: textfield;
}

.tgreens {
    color: #ecc762;
}

.tgreens:hover {
    color: var(--white-color) !important;
}

.login-btn button {
    border-radius: 50px;
    padding: 13px 60px;
    color: #000000;
    background: #ecc762;
    /* width: 100%; */
    border: 1px solid #ecc762;
    transition: all 0.5s ease;
    box-shadow: 0px 4px 7px #ffffff;
}

.login-btn button:hover {
    color: #fff;
    background: #7e610e;
    border: 1px solid #7e610e;
}

.earth_pic {
    position: relative;
    top: -75px;
}

.earth_pic img {
    position: absolute;
    height: 62px;
    right: 18px;
    top: -11px;
    border-radius: 45px;
    animation: earth_rotate 3s linear infinite normal;
    transition: all 0.3s linear;
}

@keyframes earth_rotate {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.login-check {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.me-label {
    margin-bottom: 0;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    text-align: center;
}

.popup button {
    margin-top: 10px;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.popup button:hover {
    background: #218838;
}