/* ALLOTHOST ULTRA-LUXURY LOGIN UI */

/* ১. অপ্রয়োজনীয় টেক্সট এবং ইমেজ রিমুভ */
.tt-login-registration-testimonial, 
.tt-form-content p.text-muted, 
.tt-form-content h3.h4 span { 
    display: none !important; 
}

/* ২. ব্যাকগ্রাউন্ড - লাক্সারি সিল্ক গ্রে */
.tt-form-wrap {
    background: #e8e9eb !important;
    padding: 100px 0 !important;
    min-height: 100vh;
}

/* ৩. মেইন বক্স - সুপার সফট শ্যাডো হাইপ */
.tt-form-container {
    max-width: 480px !important;
    background: #ffffff !important;
    border-radius: 30px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04) !important; /* হালকা এবং গভীর শ্যাডো */
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    margin: 0 auto !important;
    display: block !important;
}

.tt-form-content {
    width: 100% !important;
    padding: 50px !important;
}

/* ৪. ইউনিক হেডার: Login (বামে) | Register (ডানে) */
.tt-form-content .mb-4:first-child {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 40px !important;
    border: none !important;
}

.tt-form-content h3.h4 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
    margin: 0 !important;
    letter-spacing: -1px;
}

.tt-form-content .mb-4:first-child a {
    background: rgba(43, 80, 237, 0.05);
    color: #2b50ed !important;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700 !important;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.tt-form-content .mb-4:first-child a:hover {
    background: #2b50ed;
    color: #fff !important;
}

/* ৫. ইনপুট বক্স - অ্যাপল স্টাইল লাক্সারি */
.form-group {
    margin-bottom: 30px !important;
}

.form-control-label, label {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px !important;
}

.input-group-merge {
    border: 2px solid #f1f5f9 !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 56px;
}

.input-group-merge:focus-within {
    border-color: #2b50ed !important;
    background: #fff !important;
    box-shadow: 0 15px 30px rgba(43, 80, 237, 0.08) !important;
    transform: scale(1.02); /* ক্লিক করলে হালকা বড় হবে */
}

.form-control {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    padding-left: 33px !important;
}

/* ৬. পাসওয়ার্ড ও ফরগট পাসওয়ার্ড Row */
.small.text-muted {
    font-weight: 700 !important;
    color: #2b50ed !important;
    font-size: 12px !important;
}

/* ৭. বাটন ডিজাইন - ইউনিক নিওন টাচ */
.btn-primary {
    background: #1a202c !important; /* ডার্ক লাক্সারি বাটন */
    color: #fff !important;
    border: none !important;
    padding: 15px 18px !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.btn-primary:hover {
    background: #2b50ed !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(43, 80, 237, 0.25) !important;
}

/* রিমেম্বার মি */
.mb-0 input[type="checkbox"] {
    accent-color: #2b50ed;
}

/* ৮. ফুটার সেকশন হাইড করা (যদি প্রয়োজন না হয়) */
.mt-3.d-flex.align-items-center.justify-content-between.flex-wrap {
    border: none !important;
    margin-top: 20px !important;
}

/* লগইন বক্সটিকে উপরে তুলে আনা এবং ভিউপোর্ট ফিক্স করা */

.tt-form-wrap {
    min-height: 100vh !important; /* পুরো স্ক্রিন জুড়েই থাকবে */
    display: flex !important;
    align-items: flex-start !important; /* একদম উপরে রাখার জন্য */
    justify-content: center !important;
    padding-top: 50px !important; /* হেডার থেকে একটু নিচে নামিয়ে রাখা */
    background: #f4f7fa !important;
}

/* কন্টেইনার সাইজ এবং মার্জিন ফিক্স */
.tt-form-container {
    margin-top: 0 !important;
    max-width: 460px !important; /* বক্সটি ল্যাপটপে সুন্দর দেখানোর জন্য কিছুটা ছোট করা */
    transform: translateY(0); /* কোনো বাড়তি গ্যাপ থাকলে তা সরিয়ে দেবে */
}

/* হেডার ইমেজ বা স্লাইডার সরালে যে খালি জায়গা থাকে তা কমানো */
.tt-form-content {
    padding: 30px 40px !important; /* ভিতরের বাড়তি জায়গা কমিয়ে বক্সটি ছোট করা */
}

/* মোবাইল এবং ল্যাপটপ ভিউতে বক্সটি যেন স্ক্রিনের বাইরে না যায় */
@media (max-height: 800px) {
    .tt-form-wrap {
        padding-top: 0px !important;
    }
    .tt-form-content {
        padding: 20px 35px !important;
    }
}



/* --- AllotHost Ultra-Luxury Brand Style & Final Fixes --- */

:root {
    --allothost-blue: #0d2a5c;
    --allothost-accent: #3e63dd;
    --input-bg: #fdfdfe;
}

/* Background Wrapper */
body.tt-body-wrapper .tt-auth-wrap { background: #f1f4f8 !important; }

/* Section Cards */
#containerNewUserSignup > div.mb-4, #registration .card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    border: 1px solid rgba(226, 232, 240, 0.6) !important;
    box-shadow: 0 10px 30px rgba(13, 42, 92, 0.06) !important;
}

/* Section Divider Ribbon */
#registration .h6 {
    background: var(--allothost-blue) !important;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    display: inline-block !important;
}

/* --- THE ULTIMATE ICON MIDDLE FIX --- */
/* Eita icon ke zoor kore majhkhane rakhbe */
#registration .form-group.prepend-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

#registration .field-icon, 
#registration .form-group i, 
#registration .prepend-icon i,
#registration .prepend-icon .fas,
#registration .prepend-icon .far {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important; /* Perfect Vertical Center */
    margin: 0 !important; /* Resetting theme margins */
    padding: 0 !important;
    line-height: 1 !important;
    color: var(--allothost-accent) !important;
    font-size: 1.1rem !important;
    display: block !important;
}

/* Input Fields Style */
#registration .form-control, #registration .field {
    height: 56px !important;
    border-radius: 14px !important;
    background: var(--input-bg) !important;
    border: 2px solid #f1f4f8 !important;
    padding-left: 62px !important;
    font-size: 15px !important;
    color: #1a1f36 !important;
    width: 100% !important;
}

/* --- GENERATE PASSWORD BUTTON FIX --- */
/* Apnar screenshot-er sada button-ti ekhon premium hobe */
#registration .btn-generate-password,
#registration button[data-target="#modalGeneratePassword"] {
    background: #f0f4ff !important;
    color: var(--allothost-accent) !important;
    border: 1px dashed var(--allothost-accent) !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

#registration .btn-generate-password:hover {
    background: var(--allothost-accent) !important;
    color: #ffffff !important;
}

/* --- PHONE FIELD FLAG FIX --- */
#registration .iti__flag-container {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
}
#registration input[type="tel"] { padding-left: 95px !important; }

/* Main Register Button */
#registration .btn-primary[type="submit"] {
    width: 100% !important;
    height: 60px !important;
    background: var(--allothost-blue) !important;
    border-radius: 15px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(13, 42, 92, 0.2) !important;
}
/* --- THE ULTIMATE ALIGNMENT FIX --- */

/* ১. ফোন আইকনকে (নীল আইকন) একদম বামে লক করে দেওয়া */
#registration .form-group.prepend-icon i.fa-phone, 
#registration .form-group.prepend-icon i.fas {
    left: 15px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 20 !important;
}

/* ২. পতাকার বক্সকে আইকন থেকে ঠিক ২০ পিক্সেল ডানে সরানো */
#registration .iti__flag-container, 
#registration .flag-container {
    left: 42px !important; /* আইকনের জায়গা (১৫px) + আইকনের উইডথ + গ্যাপ */
    z-index: 15 !important;
    display: flex !important;
    align-items: center !important;
}

/* ৩. ইনপুট বক্সের ভেতর টেক্সট লেখার জন্য পর্যাপ্ত জায়গা (যাতে পতাকার ওপর না আসে) */
#registration input[type="tel"] {
    padding-left: 115px !important; /* আইকন + পতাকা + ডায়াল কোডের টোটাল জায়গা */
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
}

/* ৪. সিলেক্টেড ফ্ল্যাগ এরিয়া যাতে ইনপুট বক্সের হাইটের সাথে মিলে যায় */
#registration .iti__selected-flag {
    height: 100% !important;
    padding: 0 8px 0 12px !important;
    background: transparent !important;
}

/* ৫. ড্রপডাউন লিস্টের পজিশন ঠিক করা */
#registration .iti__country-list {
    margin-left: -42px !important;
    z-index: 9999 !important;
}
