:root {
    /* Dark Mode Color Scheme */
    --light: #2d2d2d;
    --border: #444444;
    --shadow: rgba(0, 0, 0, 0.3);
    --lighter: #1f1f1f;
    --text-muted: #aaaaaa;
    --text: #e0e0e0;
}

/* Base Styles */
*,
: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: #222;
    margin: 0;
    color: #ffffff;
}

.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;
    }
}

@media (min-width:1200px) {
    .container {
        width: 1170px;
    }
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* Grid System */
.col-md-4,
.col-md-6,
.col-md-8 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width:992px) {
    .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%;
    }
}

/* Navigation */
.navigations {
    display: flex;
    background-color: #1e3a8a;
    align-items: center;
    justify-content: flex-start;
    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: #fff;
    font-size: 24px;
    font-weight: bold;
}

.header-logo {
    height: 50px;
    margin-right: 15px;
}

/* Form Elements */
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    color: #0223f5;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    font-size: 15px;
    line-height: 1.42857143;
    color: rgb(0, 255, 250);
    background-color: #0f1326;
    background-image: none;
    border: 1px solid #dce4ec;
    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: both;
}

input[type=search] {
    -webkit-appearance: none;
}

.form-group {
    margin-bottom: 15px;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

.input-group-addon,
.input-group .form-control {
    display: table-cell;
}

.input-group-addon {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #2c3e50;
    text-align: center;
    background-color: #1f1f22;
    border: 1px solid #dce4ec;
    border-radius: 4px;
}

.input-group-field {
    display: table-cell;
    vertical-align: middle;
    border-radius: 4px;
}

/* Buttons */
.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: #fff;
    background: linear-gradient(45deg, #ffcc00, #ff6600);
    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: #05f505;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0047AB;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.form-group .btn {
    font-weight: 700;
}

/* BIN Section */
.bin-section {
    padding: 10px 20px;
    background-color: var(--light);
    border-bottom: 1px solid var(--border);
}

.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(--lighter);
    border: 1px solid var(--border);
}

.bin-dropdown-header {
    background-color: #FF0000;
    color: white;
    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(--lighter);
    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);
    text-align: right;
    font-family: monospace;
    cursor: pointer;
}

.bin-dropdown-bin {
    color: #FF0000;
    font-weight: bold;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #2d2d2d;
    color: #fff;
    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 #05f505;
}

.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;
}