﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.asset-banner {
    display: flex;
    align-items: center;
    background-color: #990000;
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-icon {
    width: 60px;
    height: 60px;
    background-image: url('/images/status/active.png'); /* or use a styled blob */
    background-size: cover;
    background-position: center;
    margin-right: 20px;
}

.asset-details-text h2 {
    margin: 0;
    font-size: 1.6rem;
}

.serial-text, .name-text {
    font-weight: bold;
}

/* ========== Modern Glass Navbar ========== */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css");

.glass-nav {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    /* NEW: bump the height & padding a bit */
    min-height: 64px;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

/* ------------ typography tweaks ------------ */
.navbar-brand {
    font-size: 2rem; /* NEW size */
    letter-spacing: .3px;
}

.navbar .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 1.15rem; /* NEW size */
    color: #222 !important;
    transition: color .2s;
}

    /* keep underline hover effect exactly the same */
    .navbar .nav-link::after {
        …
    }
    /* leave as-is */
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        …
    }
/* leave as-is */

/* nicer burger icon colour */
.navbar-toggler {
    color: #0d6efd;
}

/* Style the status cell */
.status-cell {
    padding: 6px 8px !important;
}

/* Inline icon layout */
.status-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    /* Icon sizing */
    .status-icon-wrapper .icon {
        width: 36px;
        height: 36px;
        object-fit: contain;
        border-radius: 6px;
    }


/* ========== Details Header ========== */
.asset-header {
    display: flex;
    align-items: flex-start; /* align icons & text at the top */
    background: #002d74; /* deep navy */
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* Icon container: horizontal row, top-aligned */
.detail-icons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-right: 24px;
}

/* Icon size & style */
.detail-icon {
    width: 64px; /* balanced size */
    height: 64px;
    object-fit: contain;
    background: #fff; /* white behind icon */
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Serial number styling */
.serial-title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

/* Asset-info paragraphs */
.asset-info p {
    margin: 4px 0;
    color: #e1e1e1;
}

/* Status text override */
.status-text {
    font-weight: 600;
}


