.register-title {
    font-size: 25px;
    color: #9b51e0;
    font-weight: 600
}

.password-toggle-icon {
    position: absolute;
    top: 10px;
    right: 0.9rem;
    z-index: 9;
}

.password-div {
    position: relative;
}

.login-box .form-control {
    padding: .45rem 2rem .45rem .9rem;
    border-radius: 7px;
}

.login-box .logo-div {
    margin-left: 50px;
}

.form-control:hover {
    border: solid #9b51e0 1px;
}

@media only screen and (max-width:767px) {
    .login-box .logo-div {
        margin-left: 0px;
    }
}

/* language slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: linear-gradient(135deg, #4e5cdb, #9b51e0);
}

input:focus+.slider {
    box-shadow: 0 0 1px #9B51E0;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(24px);
}

.slider:after {
    content: 'GR';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 48%;
    left: 70%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked+.slider:after {
    content: 'EN';
    left: 32%;
}

.login_para {
    max-width: 480px;
    margin: 0px auto;
}

.new-login-page .nav-tabs .nav-link {
    border: 1px solid;
    border-radius: 10px;
    text-align: center;
    background: white;
}

.new-login-page .nav-tabs .nav-link.active {
    background: #9b51e057;
}

.user_new_join {
    background: #9b51e057;
    border: 1px solid #000;
    border-radius: 10px;
    text-align: center;
}

.contactselects .form-control {
    padding-right: 80px;
}

.contactselects .greysacaleimg {
    filter: grayscale(1);
}

.contactselects img {
    width: 16px;
    position: absolute;
    top: 10px;
    /* transform: translateY(-50%); */
    right: 10px;
}

/* Phone field layout tweaks */
.phone-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.phone-field .code-select {
    flex: 0 0 88px;
    /* smaller fixed width for country code */
    max-width: 100px;
}

.phone-field .phone-input {
    flex: 1 1 auto;
    /* grow to fill remaining space */
}

.verify-btn {
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 3px 12px;
    border-radius: .2rem;
    position: absolute;
    top: 5px;
    right: 10px;
}

.verify-btn.btn-primary:focus {
    box-shadow: none;
}

/* Country code select styling */
select#country_code {
    color: #495057 !important;
    font-size: 14px !important;
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    background-color: #fff !important;
    padding: .45rem .6rem !important;
    /* tighten horizontal padding */
    border-radius: 7px;
    /* match input radius */
    width: 100%;
    text-align: center;
    text-align-last: center;
    /* center selected value in some browsers */
}

select#country_code option {
    color: #495057 !important;
    background-color: #fff !important;
}

.shipper-email-verified-btn,
.shipper-email-verify-btn {
    background: linear-gradient(135deg, #4e5cdb, #9b51e0);
}

.shipper-email-verified-btn,
.shipper-email-verify-btn:hover {
    background: linear-gradient(135deg, #9b51e0, #4e5cdb);
}

.shipper-signup-submit {
    background: linear-gradient(135deg, #4e5cdb, #9b51e0);
    border-radius: 15px;
}

.shipper-signup-submit:hover {
    background: linear-gradient(135deg, #9b51e0, #4e5cdb);
}

/* Video side */
.video-cont {
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure the video scales responsively and covers space */
.video-body video {
    width: 95%;
    height: 90vh;
    object-fit: cover;
    border-radius: 15px;
    margin-left: 18px;
}

@media (max-width: 576px) {
    .phone-field {
        gap: 8px;
    }

    .phone-field .code-select {
        flex-basis: 80px;
    }
}

/*modal*/
.modal-dialog {
    max-width: 660px;
}

.modal-content {
    border-radius: 38px;
    padding: 50px 100px;
    position: relative;
}

.modal-header {
    border: none;
}

.modal-content .close {
    position: absolute;
    right: 20px;
    top: 20px;
    opacity: 1;
}

/* .modal-content .close span{display: none;opacity: 1;} */
/* .modal-content .close:before{content: "";position: absolute;right: 0px;top: 0;background: url(../images/cancel-black.svg) no-repeat center;width: 25px;height:25px;} */
/* cancel-black svg */
.modal-content .close:before {
    content: "";
    position: absolute;
    right: 0px;
    top: 0;
    background-size: 23px;
    width: 25px;
    height: 25px;
}

.modal-content .modal-body {
    text-align: center;
    padding: 0px;
}

.modal-content .modal-body .title {
    font-size: 25px;
    font-weight: 500;
}

.modal-content .modal-body .verify-block {
    padding: 35px;
}

.modal-content .modal-body .verify-block .otps .digit-group input {
    margin: 0 4px;
    padding: 0;
    border-radius: 0;
}

.modal-content .modal-body .verify-block .resend {
    font-size: 16px;
}

.modal-content .modal-body .verify-block .black-btn {
    height: auto;
    line-height: normal;
}

.digit-group {
    text-align: center;
}

.digit-group input {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9B51E0;
    line-height: 50px;
    text-align: center;
    font-size: 24px;
    margin: 0 20px;
}

.digit-group input:hover,
.digit-group input:focus {
    outline: none;
}

.black-btn {
    position: relative;
    background-color: #1F1F41;
    padding: 15px 20px;
    text-align: center;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
    border: none;
    z-index: 1;
}

@media only screen and (max-width:1024px) {
    .modal-content {
        padding: 30px 40px;
        margin: 0px 15px;
    }

    .video-cont,
    .video-body {
        display: none;
    }

    .modal-content .modal-body .verify-block .otps .digit-group input {
        width: 40px;
    }
}

@media only screen and (max-width: 576px) {
    .modal-content {
        padding: 30px 20px;
    }

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

    .modal-content .modal-body .title {
        font-size: 18px;
    }

    .modal-content .modal-body .verify-block .otps .digit-group input {
        width: 30px;
    }

    .black-btn {
        padding: 10px 20px;
    }
}

.register-success {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 1.75rem;
    color: #9B51E0;
}

.btn-custom-purple {
    color: #000000;
    /* Black text color */
    background-color: #9b51e057;
    border-color: #9b51e057;
}

.btn-custom-purple:hover {
    color: #fff;
    background-color: #9b51e0;
    border-color: #9b51e0;
}

.btn-custom-purple:focus,
.btn-custom-purple.focus {
    box-shadow: 0 0 0 0.2rem rgba(155, 81, 224, 0.25);
}

.custom-file-label::after {
    content: "Upload";
    background: linear-gradient(135deg, #4e5cdb, #9b51e0);
    /* Optional: match your style */
    color: white;
    border-left: 1px solid #ced4da;
    border-radius: 0 .25rem .25rem 0;
}

#terms-error i {
    font-size: 1rem;
    margin-top: 1px;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Nunito, sans-serif !important;
    font-weight: 800 !important;
}

.label {
    font-family: Nunito, sans-serif !important;
}

/* Address Suggestions Dropdown */
.address-suggestions-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 7px 7px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    display: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.address-suggestions-dropdown.show {
    display: block;
}

.address-suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.address-suggestion-item:hover {
    background-color: #f5f5f5;
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item .main-text {
    font-weight: 600;
    color: #333;
}

.address-suggestion-item .secondary-text {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

/* Inline loader inside address input */
#street_address {
    padding-right: 40px;
}

.address-loader {
    position: absolute;
    right: 12px;
    top: 17%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #d0d7de;
    border-top-color: #9b51e0;
    border-radius: 50%;
    animation: address-spin 0.8s linear infinite;
    pointer-events: none;
    background: transparent;
    z-index: 10;
}

.address-loader.d-none {
    display: none !important;
}

@keyframes address-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
