@import 'bootstrap/dist/css/bootstrap.min.css';
@import '@fortawesome/fontawesome-free/css/all.min.css';

.navbar-custom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.04);
}

.navbar-custom .navbar-brand span {
    letter-spacing: 0.01em;
}

.navbar-custom .navbar-brand {
    color: #0f766e;
}

.navbar-custom .navbar-brand:hover {
    color: #0c5f59;
}

.navbar-custom .nav-link {
    color: #495057;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #0f766e;
}

.navbar-custom .nav-link.active {
    color: #0f766e;
    font-weight: 600;
}

.navbar-greeting {
    padding-left: 1rem;
    border-left: 1px solid rgba(15, 118, 110, 0.15);
}

.navbar-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #caa23e 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.navbar-avatar-sm {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
}

.navbar-greeting-text {
    font-size: 0.85rem;
    line-height: 1.25;
    color: #6c757d;
}

.navbar-greeting-text strong {
    color: #0f766e;
    font-weight: 600;
}

.navbar-custom .navbar-user-toggle {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.navbar-custom .navbar-user-toggle:hover,
.navbar-custom .navbar-user-toggle:focus,
.navbar-custom .navbar-user-toggle[aria-expanded="true"] {
    background-color: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.navbar-custom .dropdown-menu {
    border: none;
    padding: 0.5rem;
    min-width: 12rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.navbar-custom .dropdown-header {
    font-size: 0.75rem;
    color: #6c757d;
}

.navbar-custom .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: #495057;
}

.navbar-custom .dropdown-item svg {
    color: #0f766e;
    flex-shrink: 0;
}

.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    background-color: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.navbar-custom .btn-nav-cta {
    background: linear-gradient(135deg, #0f766e 0%, #caa23e 100%);
    color: #fff;
    border: none;
    padding: 0.45rem 1.35rem;
    border-radius: 50px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar-custom .btn-nav-cta:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-1px);
}

.navbar-custom .btn-nav-cta-outline {
    background: transparent;
    color: #0f766e;
    border: 1.5px solid #0f766e;
    padding: 0.4rem 1.35rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-custom .btn-nav-cta-outline:hover {
    background-color: #0f766e;
    color: #fff;
}

.sidebar {
    border-right: 1px solid rgba(15, 118, 110, 0.1) !important;
}

.sidebar-profile {
    background: linear-gradient(135deg, #0f766e 0%, #caa23e 100%);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.sidebar-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-greeting {
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-greeting strong {
    display: block;
    margin-top: 0.1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-user-id {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.15rem 0.65rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.sidebar-header {
    border-bottom: 1px solid rgba(15, 118, 110, 0.08);
}

.sidebar-heading {
    display: block;
    padding-left: 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #94a3b8;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: #495057;
    font-weight: 500;
    font-size: 0.925rem;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.sidebar .nav-link:hover {
    transform: translateX(2px);
}

.sidebar .nav-link svg,
.sidebar .nav-link i {
    flex-shrink: 0;
    color: #0f766e;
    opacity: 0.65;
    transition: opacity 0.2s ease;
    width: 18px;
    font-size: 1rem;
    text-align: center;
}

.sidebar .nav-link:hover,
.sidebar .nav-link:focus {
    background-color: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.sidebar .nav-link:hover svg,
.sidebar .nav-link:hover i,
.sidebar .nav-link:focus svg,
.sidebar .nav-link:focus i {
    opacity: 1;
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(202, 162, 62, 0.12) 100%);
    color: #0f766e;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #0f766e;
}

.sidebar .nav-link.active svg,
.sidebar .nav-link.active i {
    opacity: 1;
}

.sidebar-divider {
    margin: 0.5rem 0.25rem;
    border: none;
    border-top: 1px solid rgba(15, 118, 110, 0.08);
}

.sidebar-group-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    cursor: default;
}

.sidebar-group-label i {
    opacity: 0.5;
}

.sidebar-sublink {
    padding-left: 2.4rem;
    font-size: 0.875rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 6rem;
    background: linear-gradient(135deg, #000000 0%, #0f766e 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 162, 62, 0.35) 0%, rgba(202, 162, 62, 0) 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -160px;
    left: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.45) 0%, rgba(15, 118, 110, 0) 70%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-logo {
    height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    .hero-logo {
        height: 250px;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: #f4d675;
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #caa23e;
    box-shadow: 0 0 0 4px rgba(202, 162, 62, 0.25);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #f4d675 0%, #caa23e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-btn-primary {
    border: none;
    color: #000;
    font-weight: 700;
    background: linear-gradient(135deg, #caa23e 0%, #f4d675 100%);
    box-shadow: 0 8px 24px rgba(202, 162, 62, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(202, 162, 62, 0.45);
}

.hero-btn-secondary {
    color: #fff;
    font-weight: 600;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-user-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    color: #fff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease;
}

.hero-user-btn:hover,
.hero-user-btn:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.hero-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #caa23e 0%, #a67c1e 100%);
}

.gold-price-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(202, 162, 62, 0.15);
}

.gold-price-card::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, #caa23e 0%, #f4d675 50%, #caa23e 100%);
}

.gold-price-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #caa23e 0%, #a67c1e 100%);
    color: #fff;
}

.gold-price-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.gold-price-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    animation: gold-price-pulse 1.8s infinite;
}

@keyframes gold-price-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
    }
}

.gold-purity-badge {
    padding: 0.35rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a67c1e;
    background: rgba(202, 162, 62, 0.15);
}

.gold-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    padding: 0.6rem 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.gold-price-box:hover {
    transform: translateY(-2px);
}

.gold-price-box:active {
    transform: translateY(0);
}

.gold-price-box:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.25);
}

.gold-price-buy {
    background: rgba(15, 118, 110, 0.08);
}

.gold-price-buy:hover {
    background: rgba(15, 118, 110, 0.14);
    border-color: rgba(15, 118, 110, 0.25);
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.15);
}

.gold-price-sell {
    background: rgba(202, 162, 62, 0.1);
}

.gold-price-sell:hover {
    background: rgba(202, 162, 62, 0.18);
    border-color: rgba(202, 162, 62, 0.3);
    box-shadow: 0 8px 18px rgba(202, 162, 62, 0.18);
}

.gold-price-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
    color: #6c757d;
}

.gold-price-label i {
    font-size: 0.7rem;
}

.gold-price-buy .gold-price-label i {
    color: #0f766e;
}

.gold-price-sell .gold-price-label i {
    color: #a67c1e;
}

.gold-price-value {
    color: #0f766e;
}

.gold-price-value-sell {
    color: #a67c1e;
}

.gold-price-value .decimal,
.gold-price-value-sell .decimal {
    font-size: 0.65em;
    font-weight: 600;
    opacity: 0.75;
}

.gold-price-row:last-of-type {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.dashboard-page-title {
    font-weight: 700;
    color: #1f2937;
}

.dashboard-page-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
}

.dashboard-page-date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: #fff;
    border: 1px solid rgba(15, 118, 110, 0.12);
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.quick-actions-heading {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06rem;
    color: #94a3b8;
    padding-left: 0.1rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.quick-action-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}

.quick-action-btn:active {
    transform: translateY(-1px);
}

.quick-action-buy {
    background: linear-gradient(135deg, #0f766e 0%, #0c5f59 100%);
}

.quick-action-buy:hover {
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.35);
}

.quick-action-sell {
    background: linear-gradient(135deg, #caa23e 0%, #a67c1e 100%);
}

.quick-action-sell:hover {
    box-shadow: 0 16px 34px rgba(202, 162, 62, 0.35);
}

.quick-action-withdraw {
    background: #ffffff;
    border: 1.5px solid #caa23e;
    color: #a67c1e;
}

.quick-action-withdraw:hover {
    color: #a67c1e;
    box-shadow: 0 16px 34px rgba(202, 162, 62, 0.25);
}

.quick-action-withdraw .quick-action-icon {
    background: rgba(202, 162, 62, 0.15);
    color: #a67c1e;
}

.quick-action-withdraw .quick-action-sub {
    color: rgba(166, 124, 30, 0.75);
}

.quick-action-withdraw .quick-action-chevron {
    color: #a67c1e;
}

.quick-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.1rem;
}

.quick-action-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.quick-action-label {
    font-weight: 700;
    font-size: 1.05rem;
}

.quick-action-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
}

.quick-action-chevron {
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.15s ease;
}

.quick-action-btn:hover .quick-action-chevron {
    transform: translateX(3px);
}

.quick-action-btn-compact {
    padding: 1rem 1.1rem;
    min-width: 0;
}

.quick-action-btn-compact .quick-action-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.95rem;
}

.quick-action-btn-compact .quick-action-label {
    font-size: 0.95rem;
}

.quick-action-btn-compact .quick-action-sub {
    font-size: 0.72rem;
}

.company-list-card {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.company-list-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    color: #fff;
}

.company-list-row:last-of-type {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.company-list-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-weight: 700;
    font-size: 0.9rem;
}

.company-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03rem;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
}

.company-status-badge.is-inactive {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.12);
}

.company-profile-card {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.company-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-weight: 700;
    font-size: 1.1rem;
}

.company-profile-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.company-profile-value {
    color: #1f2937;
    font-size: 0.9rem;
}

.company-profile-divider {
    margin: 1.25rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    opacity: 1;
}

.my-vault-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 118, 110, 0.18), 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.my-vault-card::before {
    content: '';
    display: block;
    height: 6px;
    background: linear-gradient(90deg, #0f766e 0%, #14b8a6 50%, #0f766e 100%);
}

.my-vault-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #0c5f59 100%);
    color: #fff;
}

.my-vault-total-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f766e;
}

.my-vault-total-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    margin-left: 0.25rem;
}

.my-vault-row:last-of-type {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.my-vault-purity-value {
    color: #0f766e;
    font-size: 0.95rem;
}

.my-vault-purity-value .text-muted {
    margin-left: 0.2rem;
}

.wallet-card {
    background: linear-gradient(135deg, #0f766e 0%, #0c5f59 100%);
    color: #fff;
}

.wallet-card::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 100%);
}

.wallet-card .card-title,
.wallet-card p {
    color: #fff !important;
}

.wallet-card .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.wallet-card .my-vault-icon {
    background: rgba(255, 255, 255, 0.18);
}

.wallet-card .my-vault-icon svg rect {
    fill: #f4d675;
    stroke: #f4d675;
}

.wallet-card .my-vault-icon svg path {
    stroke: #f4d675;
}

.wallet-card .my-vault-total-value {
    color: #fff;
}

.wallet-card .my-vault-total-unit {
    color: rgba(255, 255, 255, 0.8);
}

.wallet-card .gold-purity-badge {
    color: #1f2937;
    background: linear-gradient(135deg, #f4d675 0%, #caa23e 100%);
}

.wallet-card .gold-weight-badge {
    padding: 0.35rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
}

.wallet-card .my-vault-row {
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.vault-hero-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #04120f 0%, #0f766e 100%);
    box-shadow: 0 20px 45px rgba(15, 118, 110, 0.25), 0 0 0 1px rgba(15, 118, 110, 0.12);
}

.vault-hero-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(202, 162, 62, 0.35) 0%, rgba(202, 162, 62, 0) 70%);
    pointer-events: none;
}

.vault-hero-card .card-body {
    position: relative;
    z-index: 1;
}

.vault-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #1f2937;
    background: linear-gradient(135deg, #f4d675 0%, #caa23e 100%);
}

.vault-hero-username {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.vault-hero-userid {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.vault-hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
}

.vault-hero-total {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.vault-hero-purity-box {
    height: 100%;
    padding: 0.85rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
}

.vault-hero-purity-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 50rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, #f4d675 0%, #caa23e 100%);
}

.vault-hero-purity-grams {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.vault-hero-purity-est {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

.vault-hero-payout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
}

.vault-hero-payout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #f4d675;
}

.vault-hero-payout-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.vault-hero-payout-sub {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.vault-hero-payout-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f4d675;
    white-space: nowrap;
}

.login-logo {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.auth-card .form-label {
    font-weight: 500;
    color: #495057;
}

.auth-card .form-control {
    padding: 0.6rem 0.9rem;
    border-color: rgba(15, 118, 110, 0.2);
}

.auth-card .form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.auth-card .form-check-input:checked {
    background-color: #0f766e;
    border-color: #0f766e;
}

.auth-back-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-back-link:hover {
    color: #fff;
}

.auth-link-gold {
    color: #caa23e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link-gold:hover {
    color: #a9822f;
    text-decoration: underline;
}

.trx-history-card {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.trx-history-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    color: #fff;
}

.trx-ref {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.8rem;
    color: #495057;
}

.trx-amount {
    font-weight: 700;
    color: #1f2937;
}

.trx-weight {
    color: #495057;
}

.trx-type-badge,
.trx-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03rem;
    white-space: nowrap;
}

.trx-type-badge.is-buy {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.trx-type-badge.is-sell {
    color: #a67c1e;
    background: rgba(202, 162, 62, 0.15);
}

.trx-status-badge.is-success {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.12);
}

.trx-status-badge.is-pending {
    color: #a67c1e;
    background: rgba(202, 162, 62, 0.15);
}

.trx-status-badge.is-fail {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.12);
}

#trx_history_table.dataTable thead th {
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04rem;
    font-weight: 700;
    padding: 0.85rem 0.75rem;
    white-space: nowrap;
}

#trx_history_table.dataTable tbody td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    color: #495057;
    font-size: 0.875rem;
}

#trx_history_table.dataTable tbody tr:hover {
    background-color: rgba(15, 118, 110, 0.035);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.35rem 0.65rem;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.dataTables_wrapper .dataTables_paginate .page-link {
    color: #0f766e;
    border-radius: 0.5rem !important;
    margin-left: 0.25rem;
    border: 1px solid transparent;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background-color: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
    color: #cbd5e1;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.trx-date-filter .form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.trx-filter-btn {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
    font-weight: 600;
}

.buy-form-card {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.buy-form-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    color: #fff;
    font-size: 1.05rem;
}

.buy-form-label {
    font-weight: 500;
    color: #495057;
    text-transform: capitalize;
}

.buy-form-select,
.buy-form-control {
    padding: 0.6rem 0.9rem;
    border-color: rgba(15, 23, 42, 0.12);
}

.buy-form-select:focus,
.buy-form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.purity-option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.65rem;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.purity-option-meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.purity-option-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
}

.purity-option-card:hover {
    border-color: rgba(15, 118, 110, 0.4);
}

.purity-option-check {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 1.05rem;
    height: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f766e;
    color: #fff;
    font-size: 0.6rem;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.purity-option-input:checked+.purity-option-card {
    border-color: #0f766e;
    background: rgba(15, 118, 110, 0.06);
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.purity-option-input:checked+.purity-option-card .purity-option-check {
    opacity: 1;
    transform: scale(1);
}

.purity-option-input:focus-visible+.purity-option-card {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

.account-select2+.select2-container .select2-selection--single {
    height: auto;
    padding: 0.6rem 0.9rem;
    border-color: rgba(15, 23, 42, 0.12);
    border-radius: 0.375rem;
}

.account-select2+.select2-container .select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
}

.account-select2+.select2-container .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 0.6rem;
}

.account-select2+.select2-container--default.select2-container--focus .select2-selection--single,
.account-select2+.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0f766e;
}

.buy-form-input-suffix {
    background: rgba(15, 118, 110, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f766e;
    font-weight: 600;
}

.buy-summary-card {
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: rgba(15, 118, 110, 0.035);
    border: 1px solid rgba(15, 118, 110, 0.1);
}

.buy-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.buy-summary-value {
    color: #1f2937;
    font-weight: 600;
}

.buy-summary-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.buy-summary-total {
    padding-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}

.buy-summary-total-value {
    color: #0f766e;
    font-size: 1.15rem;
}

.buy-submit-btn {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buy-submit-btn:hover,
.buy-submit-btn:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.3);
}

.buy-submit-btn:active {
    transform: translateY(0);
}

.trx-filter-btn:hover,
.trx-filter-btn:focus {
    background: #0c5f59;
    border-color: #0c5f59;
    color: #fff;
}

/* Sell Gold page */
.sell-form-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.sell-form-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #caa23e 0%, #f4d675 50%, #caa23e 100%);
}

.sell-form-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #caa23e 0%, #a67c1e 100%);
    color: #fff;
    font-size: 1.05rem;
}

.sell-form-label {
    font-weight: 500;
    color: #495057;
    text-transform: capitalize;
}

.sell-form-select,
.sell-form-control {
    padding: 0.6rem 0.9rem;
    border-color: rgba(15, 23, 42, 0.12);
}

.sell-form-select:focus,
.sell-form-control:focus {
    border-color: #a67c1e;
    box-shadow: 0 0 0 0.2rem rgba(202, 162, 62, 0.2);
}

.sell-purity-group .purity-option-card:hover {
    border-color: rgba(166, 124, 30, 0.4);
}

.sell-purity-group .purity-option-check {
    background: #a67c1e;
}

.sell-purity-group .purity-option-input:checked+.purity-option-card {
    border-color: #a67c1e;
    background: rgba(202, 162, 62, 0.08);
    box-shadow: 0 0 0 0.2rem rgba(202, 162, 62, 0.2);
}

.sell-purity-group .purity-option-input:focus-visible+.purity-option-card {
    outline: 2px solid #a67c1e;
    outline-offset: 2px;
}

.sell-account-select2+.select2-container .select2-selection--single {
    height: auto;
    padding: 0.6rem 0.9rem;
    border-color: rgba(15, 23, 42, 0.12);
    border-radius: 0.375rem;
}

.sell-account-select2+.select2-container .select2-selection__rendered {
    padding: 0;
    line-height: 1.5;
}

.sell-account-select2+.select2-container .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 0.6rem;
}

.sell-account-select2+.select2-container--default.select2-container--focus .select2-selection--single,
.sell-account-select2+.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #a67c1e;
    box-shadow: 0 0 0 0.2rem rgba(202, 162, 62, 0.2);
}

.sell-form-input-suffix {
    background: rgba(202, 162, 62, 0.12);
    border-color: rgba(15, 23, 42, 0.12);
    color: #a67c1e;
    font-weight: 600;
}

.sell-summary-card {
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: rgba(202, 162, 62, 0.05);
    border: 1px solid rgba(202, 162, 62, 0.15);
}

.sell-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.sell-summary-value {
    color: #1f2937;
    font-weight: 600;
}

.sell-summary-value.is-deduction::before {
    content: '\2212\00A0';
}

.sell-summary-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.sell-summary-total {
    padding-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}

.sell-summary-total-value {
    color: #a67c1e;
    font-size: 1.15rem;
}

.sell-submit-btn {
    background: linear-gradient(135deg, #caa23e 0%, #a67c1e 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.65rem;
    box-shadow: 0 12px 24px rgba(202, 162, 62, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sell-submit-btn:hover,
.sell-submit-btn:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(202, 162, 62, 0.35);
}

.sell-submit-btn:active {
    transform: translateY(0);
}

/* Withdraw Gold page */
.inventory-filter-bar {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.inventory-empty-state {
    border: 1px dashed rgba(15, 23, 42, 0.12);
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.015);
}

.inventory-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.inventory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.inventory-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: rgba(202, 162, 62, 0.08);
    color: #caa23e;
    font-size: 2rem;
}

.inventory-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inventory-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.inventory-card-weight {
    font-weight: 700;
    color: #a67c1e;
}

.inventory-card-type {
    font-weight: 600;
    color: #1f2937;
    text-transform: capitalize;
}

.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

.page-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inventory-back-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
}

.inventory-back-link:hover {
    color: #0c5f59;
}

.inventory-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    border-radius: 1rem 1rem 0 0;
    background: rgba(202, 162, 62, 0.08);
    color: #caa23e;
    font-size: 3rem;
    overflow: hidden;
}

.inventory-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inventory-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-color: rgba(15, 23, 42, 0.08) !important;
}

.fulfillment-info-box {
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background: rgba(15, 118, 110, 0.05);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

/* ---------------------------------------------------------------------- */
/* Transaction Receipt                                                    */
/* ---------------------------------------------------------------------- */

.receipt-back-btn {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #495057;
    font-weight: 600;
}

.receipt-back-btn:hover,
.receipt-back-btn:focus {
    border-color: rgba(15, 118, 110, 0.4);
    color: #0f766e;
}

.receipt-print-btn {
    background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.receipt-print-btn:hover,
.receipt-print-btn:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.3);
}

.receipt-card-wrap {
    max-width: 46rem;
    margin: 0 auto;
}

.receipt-card {
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.receipt-card::before {
    content: "";
    display: block;
    height: 6px;
}

.receipt-card-buy::before {
    background: linear-gradient(90deg, #0f766e, #14b8a6 50%, #0f766e);
}

.receipt-card-sell::before {
    background: linear-gradient(90deg, #caa23e, #f4d675 50%, #caa23e);
}

.receipt-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.receipt-eyebrow {
    display: block;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.receipt-status-badge i {
    font-size: 0.75rem;
}

.receipt-ref {
    display: inline-block;
    margin-top: 0.35rem;
    color: #6c757d;
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.8rem;
}

.receipt-divider {
    margin: 1.25rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    opacity: 1;
}

.receipt-divider-dashed {
    border-top-style: dashed;
}

.receipt-meta-label {
    display: block;
    margin-bottom: 0.25rem;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
}

.receipt-meta-value {
    display: block;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
}

.receipt-mono {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-weight: 500;
}

.receipt-section-title {
    margin-bottom: 0.85rem;
    color: #1f2937;
    font-size: 0.85rem;
    font-weight: 700;
}

.receipt-summary-card {
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.02);
}

.receipt-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.receipt-summary-value {
    color: #1f2937;
    font-weight: 600;
}

.receipt-summary-value.is-deduction::before {
    content: "\2212\00A0";
}

.receipt-summary-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.receipt-summary-total {
    padding-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}

.receipt-summary-total-value {
    font-size: 1.35rem;
}

.receipt-summary-total-value.is-buy {
    color: #0f766e;
}

.receipt-summary-total-value.is-sell {
    color: #a67c1e;
}

.trx-receipt-link {
    display: inline-flex;
    align-items: center;
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.trx-receipt-link:hover,
.trx-receipt-link:focus {
    color: #0c5f59;
    text-decoration: underline;
}

.receipt-footnote {
    color: #94a3b8;
    font-size: 0.78rem;
    font-style: italic;
}

@media print {
    .sidebar,
    .navbar-custom,
    .receipt-no-print,
    footer {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    main {
        padding: 0 !important;
    }

    .content-wrapper {
        width: 100% !important;
    }

    .receipt-card-wrap {
        max-width: 100% !important;
    }

    .receipt-card {
        box-shadow: none !important;
    }
}
