:root {
    --brand-primary: #6366f1;
    --brand-secondary: #0ea5e9;
    --bg-main: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: rgba(226, 232, 240, 0.8);
    --ticker-bg: #0f172a;
    --ticker-text: #f1f5f9;
    --card-hover-shadow: rgba(0, 0, 0, 0.1);
    --converter-bg: #f8fafc;
    --input-bg: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --yon-back-Down: #FFE5E5;
    --yon-back-Up: #e9f5ed;
    --yon-back-Nat: #f3f4f6;
    --text-nat: #C9C9C9;
}

[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-nav: rgba(15, 23, 42, 0.95);
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(51, 65, 85, 0.6);
    --ticker-bg: #020617;
    --card-hover-shadow: rgba(0, 0, 0, 0.4);
    --converter-bg: #0f172a;
    --input-bg: #1e293b;
    --yon-back-Down: #F03535;
    --yon-back-Up: #34D11F;
    --yon-back-Nat: #334155;
    --text-nat: #858585;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
}

@media screen and (max-width: 999px) 
{
.desktop {display:none;}
}

@media screen and (min-width: 1000px) 
{
.mobile {display:none;}
}


.text-default {
    color: white !important;
}

.ticker-container {
    background: var(--ticker-bg);
    color: var(--ticker-text);
    padding: 10px 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--brand-primary);
    overflow: hidden;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-move 30s linear infinite;
}



.ticker-item {
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid #334155;
}

.ticker-item span.price {
    font-weight: 700;
}

.navbar-custom {
    background: var(--bg-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 700;
    color: var(--text-main) !important;
    padding: 12px 18px !important;
    border-radius: 10px;
    transition: 0.2s;
}

.nav-link i {
    font-size: 1.1rem;
    color: var(--brand-primary);
    margin-right: 8px;
}

.nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary) !important;
}

.btn-theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.navbar-toggler {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 1px solid var(--border-color) !important;
    background: var(--card-bg);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn-theme-toggle:hover {
    background: var(--brand-primary);
    color: white;
}

.navbar-toggler:hover {
    background: var(--brand-primary);
    color: white;
}

.btn-call {
    background: #0f172a;
    color: white !important;
    border-radius: 12px;
    padding: 12px 24px !important;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
}

[data-theme="dark"] .btn-call {
    background: var(--brand-primary);
}

.market-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: 0.4s;
    overflow: hidden;
    height: 100%;
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px var(--card-hover-shadow);
    border-color: var(--brand-primary);
}

.card-header-premium {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.icon-shape {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.data-row:last-child {
    border-bottom: none;
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.asset-info .name {
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.asset-info .sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.price-val {
    font-weight: 700;
    color: var(--text-main);
}

.converter-box {
    background: var(--converter-bg);
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

.input-group-custom {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
}

.input-group-custom input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-weight: 700;
    color: var(--text-main);
}

.custom-select {
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-main);
    font-weight: bold;
}

.btn-action {
    width: 100%;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    margin-top: 15px;
    transition: 0.3s;
}


.data-row-link {
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
    border-top: 1px solid var(--border-color);
}

.view-all-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.view-all-row i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.data-row-link:hover {
    background: rgba(99, 102, 241, 0.04);
}

.data-row-link:hover .view-all-row {
    letter-spacing: 0.5px;
}

.data-row-link:hover i {
    transform: translateX(4px);
}

[data-theme="dark"] .data-row-link:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.text-nat {
    color: var(--text-nat);
}

.text-up {
    color: var(--success);
}

.text-down {
    color: var(--danger);
}

.bg-primary-light {
    background: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary);
}

.bg-gold-light {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.bg-crypto-light {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.badge-custom {
    background: var(--ticker-bg);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-nav {
        align-items: flex-start !important;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
    }


    .nav-link {
        width: 100%;
        text-align: left;
    }

    .btn-call {
        width: 100%;
        justify-content: center;
    }

    .w-100-mobile {
        width: 100%;
    }
}

.inyv {
    border-radius: 100px;
}

.bg-update-up {
    background: rgba(16, 185, 129, 0.15) !important;
    transition: background 0.3s ease;
}

.bg-update-down {
    background: rgba(239, 68, 68, 0.15) !important;
    transition: background 0.3s ease;
}

.data-row {
    transition: background-color 0.4s ease;

}

.asset-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

:root {
    --brand-primary: #6366f1;
    --brand-secondary: #4f46e5;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --converter-bg: #f1f5f9;
    --card-hover-shadow: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-main: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --converter-bg: #0f172a;
}


.detail-header-card,
.visual-converter-card,
.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.sidebar-card {
    padding: 0px !important;
    border-radius: 20px;
}

.sidebar-body {
    padding: 8px !important;
}

.sidebar-card-header {
    background: var(--converter-bg);
    border-radius: 20px 20px 0px 0px !important;
    padding: 18px;
    font-weight: bold;
}

.sidebar-card-header>i {
    width: 25px;
}

.asset-logo-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-main);
    box-shadow: 0 0 0 1px var(--border-color);
}

.asset-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-title-main {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
}

.asset-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-big {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.currency-small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.badge-trend-up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.input-visual-box {
    background: var(--converter-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px 16px;
}

.input-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.curr-code {
    font-weight: 700;
    font-size: 0.9rem;
}

.amount-input {
    border: none;
    background: transparent;
    outline: none;
    text-align: right;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    width: 100%;
}

.btn-visual-swap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    border: 4px solid var(--card-bg);
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.swap-divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.rich-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.rich-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.2s;
}

.rich-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
}

.rc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.rc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.rc-meta {
    display: flex;
    flex-direction: column;
}

.rc-code {
    font-weight: 800;
    font-size: 1rem;
}

.rc-name {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trend-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trend-pill.up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.trend-pill.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ms-auto {
    margin-left: auto !important;
}

.market-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.market-item {
    flex: 1;
    text-align: center;
}

.market-divider {
    width: 1px;
    background: var(--border-color);
    margin: 0 8px;
}

.lbl {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
    display: block;
}

.val {
    font-weight: 700;
    font-size: 0.95rem;
}

.sidebar-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #94a3b8;
    letter-spacing: 1px;
}

.pop-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pop-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease-in-out;
}

.pop-item:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .pop-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.pop-flag {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.pop-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.pop-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.pop-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

[data-theme="dark"] .pop-badge {
    background: #334155;
    color: #cbd5e1;
}

.pop-arrow {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-left: auto;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-item-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}

.link-item-nav:hover {
    background: var(--hover-bg);
    color: var(--brand-primary);
}

.link-item-nav i {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: 0.3s;
}

.link-item-nav:hover i {
    transform: translateX(3px);
    opacity: 1;
}

@media (max-width: 992px) {
    .rich-grid {
        grid-template-columns: 1fr;
    }

    .btn-visual-swap {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .swap-divider-line {
        display: none;
    }
}

.pop-item,
.link-item-nav,
.article-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.pop-item:hover,
.link-item-nav:hover,
.article-item:hover {
    background-color: var(--hover-bg);
    border-color: var(--brand-primary);
    transform: translateX(4px);
}

.article-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.article-title-small {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.kr-list-category-header {
    padding: 20px 0 40px;
    background: var(--card-bg);
    font-weight: bold;
    margin-bottom: -20px;
}

.kr-list-market-table-card {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}


.kr-list-wrapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.kr-list-table {
    margin-bottom: 0 !important;
    width: 100%;
    border-collapse: collapse;
}

.kr-list-table thead th {
    background: var(--converter-bg);
    color: var(--text-main);
    font-weight: 500;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding: 18px 24px;
    font-size: 0.95rem;

}

.kr-list-table tbody tr {
    transition: background-color 0.2s;

}

.kr-list-table tr {
    border: 1px solid var(--border-color);
}

.kr-list-table tbody tr:last-child {
    border-bottom: none;
}

.kr-list-table tbody tr:hover {
    background-color: #f9fafb;
}

.kr-list-table td {
    vertical-align: middle;
    padding: 24px;
    color: #1f2937;
    font-size: 1rem;
    background: var(--card-bg);

}

.kr-list-symbol-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kr-list-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.kr-list-code {
    background-color: #f3f4f6;
    color: var(--text-main);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

[data-theme="dark"] .kr-list-code {

    background: #334155;
    color: #cbd5e1;
}

.kr-list-name {
    font-weight: 700;
    color: var(--text-main);
}

.kr-list-price {
    font-weight: 600;
    color: var(--text-main);
}

.kr-list-currency-suffix {
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 400;
    margin-left: 2px;
}

.kr-list-change-badge {
    display: inline-block;
    background-color: #f3f4f6;
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 70px;
    text-align: center;
}

.kr-list-direction {
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.2rem;
}

.yon-back-Down {
    background: var(--yon-back-Down);
}

.yon-back-Up {
    background: var(--yon-back-Up);
}

.yon-back-Nat {
    background: var(--yon-back-Nat);
}

@media (max-width: 767.98px) {

    .kr-list-table td,
    .kr-list-table thead th {
        padding: 12px 10px;
    }

    .kr-list-flag {
        width: 24px;
        height: 24px;
    }

    .kr-list-name {
        display: none;
    }

    .kr-list-code {
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .kr-list-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .list-desc {
        font-size: 15px;
        text-align: justify;
    }
}

.nais {
    width: 25px;
}

:root {
    --converter-primary: #0d6efd;
    --converter-card-bg: #ffffff;
    --converter-input-bg: #f8f9fa;
    --converter-fs-desktop: 1.75rem;
    --converter-fs-mobile: 1.25rem;
}

[data-bs-theme="dark"] {
    --converter-card-bg: #1a1d20;
    --converter-input-bg: #25282c;
}

.converter-body-font {}

.converter-card {
    border: none;
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
}

.converter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 992px) {
    .converter-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
}

.converter-input-box {
    display: flex;
    align-items: center;
    background: var(--converter-bg);
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 10px 15px;
    flex: 1;
    transition: all 0.2s;
    color: var(--text-main);
}

@media (min-width: 992px) {
    .converter-input-box {
        padding: 12px 20px;
        border-radius: 16px;
    }
}

.converter-input-box:focus-within {
    border-color: var(--converter-primary);
    background: var(--converter-card-bg);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.05);
}

.converter-unit-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 130px;
    user-select: none;
}

@media (min-width: 992px) {
    .converter-unit-selector {
        min-width: 170px;
        padding-right: 20px;
    }
}

[data-bs-theme="dark"] .converter-unit-selector {
    border-right-color: rgba(255, 255, 255, 0.1);
}

.converter-flag-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .converter-flag-img {
        width: 42px;
        height: 42px;
    }
}

.converter-unit-meta {
    line-height: 1.1;
    margin-left: 10px;
}

.converter-unit-code {
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

@media (min-width: 992px) {
    .converter-unit-code {
        font-size: 1.1rem;
    }
}

.converter-unit-name {
    font-size: 0.7rem;
    color: #6c757d;
}

.converter-price-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: var(--converter-fs-mobile);
    font-weight: 700;
    text-align: right;
    outline: none;
    color: inherit;
    width: 100%;
}

@media (min-width: 992px) {
    .converter-price-input {
        font-size: var(--converter-fs-desktop);
    }
}

.converter-swap-container {
    display: flex;
    justify-content: center;
    z-index: 5;
}

.converter-btn-swap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--converter-card-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--converter-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

@media (min-width: 992px) {
    .converter-btn-swap {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}

.converter-btn-swap:hover {
    background: var(--converter-primary);
    color: white;
    transform: rotate(180deg);
}

@media (max-width: 991px) {
    .converter-btn-swap {
        margin: -19px 0;
    }
}

.converter-info-badge {
    font-size: 0.8rem;
    background: rgba(13, 110, 253, 0.1);
    color: var(--converter-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.converter-table-card {
    border: none;
    border-radius: 18px;
    background: var(--card-bg) !important;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.converter-table-card .table-responsive {
    background: var(--card-bg) !important;
}

.converter-table-card .table {
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
}

.converter-table-card .table-light {
    background: var(--converter-bg) !important;
    color: var(--text-main) !important;
}

.converter-table-card .table-light th {
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
    background: var(--converter-bg) !important;
}

.converter-table-card tbody tr {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

.converter-table-card tbody td {
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
    background: var(--card-bg) !important;
}

.converter-table-card tbody tr:hover td {
    background: var(--converter-bg) !important;
}

@media (min-width: 992px) {
    .converter-modal-large {
        max-width: 750px !important;
    }

    .converter-list-item {
        transition: all 0.2s;
        border-radius: 12px;
        margin-bottom: 4px;
        padding: 12px 18px !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        background: transparent;
    }
}

.mdomodal {
    background: var(--card-bg);
    color: var(--text-main);
}

.mdomodal .modal-title {
    color: var(--text-main);
}

.mdomodal .btn-close {
    filter: var(--bs-btn-close-filter, none);
}

[data-theme="dark"] .mdomodal .btn-close {
    filter: invert(1);
}

.converter-list-item:hover {
    background-color: rgba(13, 110, 253, 0.08);
    transform: translateX(4px);
}

[data-theme="dark"] .converter-list-item:hover {
    background-color: rgba(99, 102, 241, 0.15);
}

.converter-search-wrapper {
    border-radius: 12px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.converter-search-wrapper input {
    color: var(--text-main) !important;
    background: transparent !important;
}

.converter-search-wrapper input::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.7;
}

.converter-search-wrapper .bi-search {
    color: var(--text-muted) !important;
}

.converter-search-wrapper input:focus {
    color: var(--text-main) !important;
    background: transparent !important;
}


.gugeinput {
    color: var(--text-main);
    background: var(--card-bg) !important;
}

.sticky-sidebar-container {
    position: sticky;
}


.pgmak {
    padding: 5px;
}

.pgmak h2 {
    margin-top: 20px;
}

.footer-main {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    margin-top: 40px;
    color: var(--text-main);
}

.footer-brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.footer-social-wrapper {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

.footer-link-group-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-item {
    margin-bottom: 10px;
}

.footer-nav-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--brand-primary);
}

.footer-bottom-bar {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-legal-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-legal-link:hover {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .footer-legal-links {
        justify-content: flex-start;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .footer-brand-desc {
        max-width: 100%;
    }
}

.blog-section-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

.blog-section-header {
    margin-bottom: 30px;
    text-align: left;
}

.blog-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.blog-section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.blog-section-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
}

.blog-section-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-primary);
}

.blog-section-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-section-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-section-card:hover .blog-section-img {
    transform: scale(1.1);
}

.blog-section-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-section-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.blog-section-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 12px;
}

.blog-section-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-section-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.contact-page-wrapper {
    padding: 60px 0;
    background-color: var(--bg-main);
}

.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.contact-info-desc {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
}

.contact-icon-box {
    width: 45px;
    height: 45px;
    background: var(--brand-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-info-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.contact-info-text strong {
    font-size: 1.05rem;
    color: var(--text-main);
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-submit-btn:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.article-detail-wrapper {
    padding: 40px 0;
}

.article-detail-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.article-detail-header {
    margin-bottom: 25px;
}

.article-detail-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.article-detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-detail-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.article-detail-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.article-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-share-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px dashed var(--border-color);
}

.article-share-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.article-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.article-share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-fb {
    background: #1877F2;
}

.share-tw {
    background: #1DA1F2;
}

.share-wp {
    background: #25D366;
}

.share-tg {
    background: #0088cc;
}

.article-rel-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.article-rel-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    transition: all 0.3s ease;
    height: 100%;
}

.article-rel-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-5px);
}

.article-rel-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.article-rel-body {
    padding: 15px;
}

.article-rel-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: 1.7rem;
    }

    .article-detail-card {
        padding: 20px;
    }
}

.cookie-notice-wrapper {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99999;
    max-width: 350px;
    display: none;
}

.cookie-notice-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: cookie-slide-up 0.5s ease-out;
}

.cookie-notice-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}

.cookie-notice-title i {
    color: #f59e0b;
}

.cookie-notice-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.cookie-btn-accept {
    width: 100%;
    padding: 10px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

@keyframes cookie-slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .cookie-notice-wrapper {
        left: 15px;
        right: 15px;
        max-width: none;
    }
}

.blog-dropdown-wrapper {
    position: relative;
}

.blog-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    animation: blogDropFadeIn 0.25s ease;
}

@media (min-width: 992px) {
    .blog-dropdown-wrapper:hover .blog-dropdown-menu {
        display: block !important;
    }
}

.blog-dropdown-link {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-dropdown-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--brand-primary);
}

@keyframes blogDropFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
.blog-dropdown-menu {
position: static;
display: none;
box-shadow: none;
border: none;
padding: 0 0 0 16px;
background: transparent;
animation: none;
}

.blog-dropdown-wrapper.open .blog-dropdown-menu {
display: block !important;
}
}

.pg-container {
display: flex;
justify-content: center;
align-items: center;
gap: 8px;
margin-top: 40px;
margin-bottom: 20px;
}

.pg-item {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border-radius: 12px;
background: var(--card-bg);
border: 1px solid var(--border-color);
color: var(--text-main);
text-decoration: none;
font-weight: 700;
font-size: 0.9rem;
transition: all 0.3s ease;
}

.pg-item:hover {
border-color: var(--brand-primary);
color: var(--brand-primary);
transform: translateY(-2px);
background: rgba(99, 102, 241, 0.05);

}

.pg-item.active {
background: var(--brand-primary);
border-color: var(--brand-primary);
color: #ffffff !important;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pg-nav {
width: auto;
padding: 0 15px;
}

.pg-item.disabled {
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}