/* Color Variables (Theme from your previous input) */ :root { --dark-blue: #1a2035; --medium-blue: #232a41; --light-blue: #3e4a6e; --green: #1fc226; --red-bin: #ff1100; --red-dead: #1f0200; --orange-unknown: #ff9800; --yellow-btn: #ffc107; --orange-btn: #fd7e14; --text-color-light: #f8f9fa; --text-color-dark: #212529; /* Mapped original variables to new theme colors for consistency */ --light: var(--dark-blue); --border: var(--light-blue); --shadow: rgba(0, 0, 0, 0.3); --lighter: var(--medium-blue); --text-muted: #aaaaaa; /* Specific muted color */ --text: var(--text-color-light); } /* Base & Typography */ *, :after, :before { box-sizing: border-box; } html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { font-family: 'Poppins', sans-serif; background-color: var(--dark-blue); margin: 0; color: var(--text-color-light); } /* Layout & Grid System */ .container { margin-right: auto; margin-left: auto; padding-left: 20px; padding-right: 20px; } @media (min-width:768px) { .container { width: 750px; } } @media (min-width:992px) { .container { width: 970px; } .col-md-4, .col-md-6, .col-md-8 { float: left; } .col-md-8 { width: 66.66666667%; } .col-md-6 { width: 50%; } .col-md-4 { width: 33.33333333%; } .col-md-offset-2 { margin-left: 16.66666667%; } } @media (min-width:1200px) { .container { width: 1170px; } } .row { margin-left: -15px; margin-right: -15px; } .col-md-4, .col-md-6, .col-md-8 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; } /* Navigation (Header) */ .navigations { display: flex; justify-content: space-between; align-items: center; background-color: var(--medium-blue); padding: 0 2rem; height: 80px; margin-bottom: 30px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .site-header { display: flex; align-items: center; color: var(--text-color-light); font-size: 24px; font-weight: bold; } .header-logo { height: 50px; margin-right: 15px; } .header-buttons { display: flex; gap: 15px; align-items: center; } /* Form Elements */ label { display: inline-block; max-width: 100%; margin-bottom: 5px; color: var(--text-color-light); font-weight: 700; } .form-control { display: block; width: 100%; height: 45px; padding: 10px 15px; font-size: 15px; line-height: 1.42857143; color: var(--text-color-light); background-color: var(--medium-blue); background-image: none; border: 1px solid var(--light-blue); border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out; } textarea.form-control { height: 335px; resize: vertical; } input[type=search] { -webkit-appearance: none; } .form-group { margin-bottom: 15px; width: 100%; /* BIN ইনপুট যাতে পুরো প্রস্থ নেয় */ } /* ** গুরুত্বপূর্ণ ফ্লেক্সবক্স স্টাইলস ** এই স্টাইলগুলো `Date`, `CVC` এবং `Quantity` ফিল্ডগুলোকে সব স্ক্রিন সাইজে পাশাপাশি রাখতে সাহায্য করবে। */ .input-group { position: relative; display: flex; /* ফ্লেক্সবক্স কন্টেইনার */ flex-wrap: nowrap; /* উপাদানগুলো নতুন লাইনে যাওয়া আটকাবে */ align-items: center; /* উল্লম্বভাবে অ্যালাইন করার জন্য */ gap: 10px; /* উপাদানগুলোর মধ্যে ফাঁকা স্থান */ width: 100%; /* পুরো প্রস্থ ব্যবহার করবে */ } .input-group-addon { width: auto; /* কন্টেন্টের উপর ভিত্তি করে প্রস্থ নেবে */ flex-shrink: 0; /* সঙ্কুচিত হওয়া রোধ করবে */ padding: 10px 15px; font-size: 15px; font-weight: 400; line-height: 1; color: #2c3e50; background-color: var(--medium-blue); border: 1px solid var(--light-blue); border-radius: 4px; } .input-group-field { display: flex; flex-grow: 1; /* উপলব্ধ স্থান পূরণ করতে বৃদ্ধি পাবে */ min-width: 0; vertical-align: middle; border-radius: 4px; } /* Date সেকশনের দুটি সিলেক্টকে পাশাপাশি রাখতে */ .input-group > select.form-control, .input-group-field > select.form-control { flex-grow: 1; min-width: 0; width: auto; /* flex-grow দ্বারা width নিয়ন্ত্রিত হবে */ } /* CVC ইনপুটকে উপলব্ধ স্থান ব্যবহার করতে দিন */ .input-group > input.form-control { flex-grow: 1; min-width: 0; width: auto; } /* Buttons Styling */ .btn { display: inline-block; margin-bottom: 0; font-weight: 400; text-align: center; vertical-align: middle; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 10px 15px; font-size: 15px; line-height: 1.42857143; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .btn-primary { color: var(--text-color-dark); background: linear-gradient(45deg, var(--yellow-btn), var(--orange-btn)); border-color: #000000; } .btn-block { display: block; width: 100%; } .btn-block+.btn-block { margin-top: 5px; } .btn-link { display: inline-block; text-decoration: none; background: var(--green); padding: 5px 10px; border-radius: 8px; font-size: 16px; font-weight: 600; color: var(--text-color-light); text-align: center; cursor: pointer; border: 2px solid transparent; } .form-group .btn { font-weight: 700; } .btn-link i { margin-right: 5px; } /* BIN Section */ .bin-section { padding: 5px 2px; background-color: var(--dark-blue); border-bottom: 1px solid var(--light-blue); } .bin-dropdown-container { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 3px; } .bin-dropdown-card { flex: 1; min-width: 250px; font-family: Arial, sans-serif; border-radius: 8px; box-shadow: 0 2px 10px var(--shadow); overflow: hidden; margin-bottom: 1px; background-color: var(--medium-blue); border: 1px solid var(--light-blue); } .bin-dropdown-header { background-color: var(--red-bin); color: var(--text-color-light); padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; } .bin-dropdown-title { font-weight: bold; font-size: 14px; } .bin-dropdown-arrow { transition: transform 0.3s ease; font-size: 12px; } .bin-dropdown-arrow.down { transform: rotate(180deg); } .bin-dropdown-details { background-color: var(--medium-blue); padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; } .bin-dropdown-details.show { padding: 12px 15px; max-height: 500px; } .bin-dropdown-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; } .bin-dropdown-label { font-weight: bold; color: var(--text-muted); min-width: 80px; } .bin-dropdown-value { color: var(--text-color-light); text-align: right; font-family: monospace; cursor: pointer; } .bin-live { color: var(--green); font-weight: bold; } .bin-dead { color: var(--red-dead); font-weight: bold; } /* Toast Notification */ .toast-notification { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); background-color: var(--medium-blue); color: var(--text-color-light); padding: 12px 24px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); z-index: 9999; opacity: 0; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); font-family: 'Poppins', sans-serif; pointer-events: none; max-width: 90%; text-align: center; border-left: 4px solid var(--green); } .toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); } /* Copyable Elements */ .copyable, .bin-dropdown-value, .bin-dropdown-bin, .bin-item code, .bin-detail code { cursor: pointer; position: relative; transition: all 0.2s; } /* Clearfix */ .container:after, .container:before, .nav:after, .nav:before, .row:after, .row:before { content: " "; display: table; } .container:after, .nav:after, .row:after { clear: both; } /* Footer Styling */ .main-footer { text-align: center; margin-top: 30px; padding: 20px; background-color: var(--medium-blue); border-top: 2px solid var(--light-blue); color: var(--text-color-light); } .main-footer p { margin: 0; font-size: 14px; } .main-footer a { color: var(--green); text-decoration: none; font-weight: bold; } .main-footer a:hover { text-decoration: underline; } /* Social Links */ .social-links { margin-top: 15px; display: flex; justify-content: center; gap: 20px; } .social-links a { color: var(--text-color-light); font-size: 24px; transition: color 0.3s ease; } .social-links a:hover { color: var(--green); } /* Colors for live/dead/unknown (Used within BIN section) */ .live { color: var(--green); } .dead { color: var(--red-dead); } .unknown { color: var(--orange-unknown); } /* ** গুরুত্বপূর্ণ পরিবর্তন: রেসপনসিভ ওভাররাইড ** */ @media (max-width: 768px) { /* Header layout for small screens */ .navigations { flex-direction: column; align-items: flex-start; height: auto; padding: 0.5rem 1rem; } .site-header { width: 100%; justify-content: flex-start; margin-bottom: 10px; font-size: 20px; } .header-logo { height: 40px; margin-right: 10px; } .header-buttons { width: 100%; display: flex; justify-content: flex-end; gap: 5px; } .header-buttons .btn-link { padding: 4px 8px; font-size: 12px; white-space: nowrap; } .header-buttons .btn-link i { font-size: 12px; margin-right: 3px; } /* ** .col-md-X ক্লাসগুলির আচরণ পরিবর্তন করা হয়েছে ছোট স্ক্রিনের জন্য ** ** BIN, Date, CVC এবং Quantity ইনপুট ফিল্ডগুলোকে সঠিকভাবে দেখাতে। ** */ .col-md-8, .col-md-4, .col-md-6 { width: 100%; /* ছোট স্ক্রিনে 100% প্রস্থ নেবে */ float: none; /* ফ্লোটিং আচরণ বাতিল করুন */ padding-left: 15px; padding-right: 15px; box-sizing: border-box; /* padding যাতে width এর ভেতরে থাকে */ } /* BIN, Date, CVC, Quantity ফর্ম সেকশনগুলোকে একটি সারি হিসেবে বিবেচনা করার জন্য যেহেতু ফর্মের ভেতরের .row কন্টেইনার .col-md-X কে ধারণ করে, আমরা .row কে flex কন্টেইনার করব যাতে তার চাইল্ড কলামগুলো পাশাপাশি থাকে। */ .row { display: flex; flex-wrap: wrap; /* ছোট স্ক্রিনে প্রয়োজন হলে নতুন লাইনে যাবে */ align-items: flex-start; /* আইটেমগুলোকে উপরে অ্যালাইন করবে */ margin-left: -15px; /* বুটস্ট্র্যাপের সারি মার্জিন বজায় রাখতে */ margin-right: -15px; /* বুটস্ট্র্যাপের সারি মার্জিন বজায় রাখতে */ } /* Date সেকশনের .input-group-field এর ভেতরের select-কে সঠিকভাবে প্রদর্শন */ /* যেহেতু Date সেকশনের দুটি `