/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    color: rgb(var(--bs-tertiary-color-rgb));
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
    letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

/* INLINE CSS
-------------------------------------------------- */

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

/* HEADERS CSS
-------------------------------------------------- */


.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .bi {
    width: 1em;
    height: 1em;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.form-control-dark {
    border-color: var(--bs-gray);
}
.form-control-dark:focus {
    border-color: #fff;
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
    font-size: 85%;
}

.dropdown-toggle:not(:focus) {
    outline: 0;
}

/* CUSTOM CSS
-------------------------------------------------- */

.sro-item-detail {
	background: #808080;
	width: 38px;
	margin: 0 auto;
}

.sro-item-detail.sro-item-special {
	background: #FF8C00;
}

.sro-item-detail.sro-item-special .sro-item-special-seal {
	z-index: 4;
}

.sro-item-detail .item {
	width: 32px;
	height: 32px;
	float: left;
	margin: 3px;
	padding: 0 !important;
	color: #fff;
	background: #5f5f5f;
	position: relative;
}
.sro-item-detail .item img {
	position: absolute;
	top: 0;
	left: 0;
}

.sro-item-detail .item .amount {
	background: rgba(50, 50, 50, 0.5);
	padding: 1px 2px;
	float: left;
	font-size: 11px;
}

.sro-item-detail .info {
	color: #fff;
	z-index: 80;
	position: absolute;
	left: 34px;
	top: 3px;
	width: 180px;
	background: rgba(88, 98, 170, 0.85);
	border: 2px solid #303d4d;
	padding: 5px;
	display: none;
	line-height: 18px;
	font-size: 10px;
}

.table.table-inventory td, .table.table-inventory th {
	padding: 4px;
}

.sro-item-detail .tooltip {
	font-size: 10px;
	line-height: 15px;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	position: fixed;
	padding: 5px;
	border: 1px solid #ccc;
	visibility: hidden;
	box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transition:
			opacity 0.3s,
			visiblity 0s;
}
.sro-item-detail:hover .tooltip {
	visibility: visible;
	opacity: 1;
}

/********paginate*********/
img {
    max-width: 100%;
}
svg {
    width: 1rem;
    height: 1rem;
}
.content > .container {
    min-height: 100vh;
}
nav[role=navigation] > div:first-child {
    margin-bottom: 1rem
}


:root {
    --brand:   #FFD700;
    --teal:    #FFF8DC;
    --ink-950: #06070C;
    --ink-900: #0B0D16;
    --ink-800: #10131F;
    --ink-700: #161A2A;
    --ink-600: #1E2336;
}

/* ── Hidden utility (replaces Tailwind's .hidden) ── */
.hidden { display: none !important; }

/* ── Fade-in animation ── */
.fade-in {
    animation: fadeInUp 0.25s ease both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Admin Card ── */
.admin-card {
    background: var(--ink-900);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.admin-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand) 0%, transparent 100%);
}

/* ── Admin Table ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table thead tr { background: rgba(0,0,0,0.4); border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-table thead th { padding: 10px 14px; text-align: left; color: #6B7280; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; font-family: 'Inter', sans-serif; font-weight: 600; white-space: nowrap; }
.admin-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
.admin-table tbody tr:hover { background: rgba(255,215,0,0.06); }
.admin-table tbody td { padding: 10px 14px; color: #C8CEDF; vertical-align: middle; }

/* ── Field Input ── */
.field-input {
    width: 100%;
    background: var(--ink-800);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    color: #C8CEDF;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.field-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(255,215,0,0.2);
}
.field-input.err { border-color: #EF4444; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    cursor: pointer; border: none; outline: none; text-decoration: none;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: filter 0.2s, opacity 0.2s;
    white-space: nowrap;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { filter: brightness(0.9); }
.btn-sm  { padding: 6px 16px;  font-size: 13px; }
.btn-md  { padding: 9px 22px;  font-size: 15px; }
.btn-lg  { padding: 12px 28px; font-size: 17px; }
.btn-brand   { background: var(--brand); color: #06070C; }
    .btn-teal    { background: var(--teal);  color: #06070C; }
.btn-danger  { background: #EF4444;       color: #fff; }
.btn-warning { background: #F59E0B;        color: #06070C; }
.btn-outline {
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    background: transparent;
    border: 1px solid rgba(255,215,0,0.5);
    color: var(--brand);
    padding: 8px 20px;
    font-size: 14px;
}
.btn-outline:hover { background: rgba(255,215,0,0.1); }

/* ── Section Label ── */
.section-label {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--brand);
}
.section-label::before {
    content: ''; display: inline-block; width: 20px; height: 2px;
    background: var(--brand);
}

/* ── Tags ── */
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.tag-brand { background: rgba(255,215,0,0.2); color: var(--brand); border: 1px solid rgba(255,215,0,0.3); }
.tag-teal  { background: rgba(255,248,220,0.15); color: var(--teal);  border: 1px solid rgba(255,248,220,0.25); }
.tag-red   { background: rgba(239,68,68,0.15);  color: #F87171;      border: 1px solid rgba(239,68,68,0.25); }
.tag-gray  { background: rgba(255,255,255,0.05); color: #9CA3AF;     border: 1px solid rgba(255,255,255,0.1); }
.tag-green { background: rgba(34,197,94,0.12);  color: #4ADE80;      border: 1px solid rgba(34,197,94,0.2); }

/* ── Alert Banners ── */
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25); color: #4ADE80; border-radius: 2px; padding: 12px 16px; }
.alert-error   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); color: #F87171; border-radius: 2px; padding: 12px 16px; }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); color: #FBBF24; border-radius: 2px; padding: 12px 16px; }
.alert-info    { background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.25); color: var(--brand); border-radius: 2px; padding: 12px 16px; }

/* ── Dividers ── */
.rule { border: none; border-top: 1px solid rgba(255,255,255,0.08); }
.rule-soft { border: none; border-top: 1px solid rgba(255,255,255,0.04); }

/* ── Backlink card (landing page) ── */
.backlink-card {
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 4px;
    background: rgba(255,215,0,0.04);
    transition: background 0.2s, border-color 0.2s;
}
.backlink-card:hover {
    background: rgba(255,215,0,0.12) !important;
    border-color: rgba(255,215,0,0.5) !important;
}

/* ── Lucide icon sizing fix ── */
[data-lucide] { display: inline-block; }

/* ══════════════════════════════════════════════
   SRO FOOTER — Legend Theme
   ══════════════════════════════════════════════ */

/* ── Backlinks bar ── */
.sro-footer-backlinks {
    background: linear-gradient(90deg, var(--ink-950) 0%, var(--ink-800) 50%, var(--ink-950) 100%);
    border-top: 2px solid var(--brand);
    border-bottom: 1px solid rgba(255,215,0,0.12);
    padding: 14px 0;
}

.sro-backlinks-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sro-backlinks-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 16px;
    border-right: 1px solid rgba(255,215,0,0.25);
}

.sro-backlinks-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sro-backlink-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,215,0,0.1);
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.sro-backlink-item:hover {
    background: rgba(255,215,0,0.1);
    border-color: rgba(255,215,0,0.4);
    transform: translateY(-2px);
}

.sro-backlink-item img {
    height: 20px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    filter: brightness(0.85) grayscale(0.2);
    transition: filter 0.2s;
}

.sro-backlink-item:hover img {
    filter: brightness(1) grayscale(0);
}

.sro-backlink-item span {
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    transition: color 0.2s;
}

.sro-backlink-item:hover span {
    color: var(--brand);
}

/* ── Main footer area ── */
.sro-footer {
    margin-top: 0;
    /* Stretch beyond any parent container constraints */
    width: 100%;
}

.sro-footer-main {
    background: var(--ink-900);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sro-footer-desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 340px;
    margin-bottom: 12px;
}

.sro-footer-copy {
    font-size: 12px;
    color: #4B5563;
}

.sro-footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}
.sro-footer-link:hover { color: var(--brand); }

.sro-footer-link-brand {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}
.sro-footer-link-brand:hover { color: #FFF8DC; }

/* ── Footer headings ── */
.sro-footer-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sro-footer-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,215,0,0.15);
}

/* ── Footer nav links ── */
.sro-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sro-footer-nav li { margin-bottom: 8px; }

.sro-footer-nav-link {
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.2s;
}
.sro-footer-nav-link:hover {
    color: var(--brand);
    gap: 10px;
}

.sro-nav-icon {
    font-size: 9px;
    color: rgba(255,215,0,0.4);
    transition: color 0.2s;
}
.sro-footer-nav-link:hover .sro-nav-icon {
    color: var(--brand);
}

/* ── Social links ── */
.sro-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sro-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}
.sro-social-link:hover {
    background: rgba(255,215,0,0.08);
    color: var(--brand);
}
.sro-social-link svg,
.sro-social-link i {
    width: 14px;
    height: 14px;
    font-size: 14px;
    color: rgba(255,215,0,0.6);
}
.sro-social-link:hover svg,
.sro-social-link:hover i {
    color: var(--brand);
}

/* ── Bottom bar ── */
.sro-footer-bottom {
    background: var(--ink-950);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 12px 0;
}

.sro-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sro-footer-bottom-text {
    font-size: 11px;
    color: #374151;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .sro-backlinks-inner { flex-direction: column; align-items: flex-start; }
    .sro-backlinks-label { border-right: none; border-bottom: 1px solid rgba(255,215,0,0.25); padding-right: 0; padding-bottom: 8px; }
    .sro-footer-bottom-inner { justify-content: center; text-align: center; }
}

