﻿
/* === Global Styles === */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

a {
    color: #0366d6;
}

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-word;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* === Utility Classes === */

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.padding-right-10 {
    padding-right: 10px;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-left-20 {
    padding-left: 20px;
}

.padding-left-30 {
    padding-left: 30px;
}

.padding-left-40 {
    padding-left: 40px;
}

.padding-allround-10 {
    padding: 10px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-20 {
    padding-top: 20px;
}

.card-header-spacing {
    margin-bottom: 20px;
}

/* === Layout: Footer, Card, Header === */

.occolor {
    background-color: #0094ff;
}

.ocfooter {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1rem;
    text-align: right;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.card {
    max-width: 100%;
    margin: 0 auto;
}

    .card > .button-container {
        position: static;
        margin-top: 1rem;
        text-align: center;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

#saveCard .card-body {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

#preview {
    width: auto;
    height: auto;
    min-width: 50px;
    min-height: 50px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

/* === Rotation & Lightbox === */

.lightbox img {
    max-width: 800% !important;
    max-height: 800% !important;
    margin: auto;
    display: block;
}

/* === Inventory Status Badges === */

.inventory-status-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.inventory-badge {
    padding: 0.4rem 0.75rem;
    border-radius: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.inventory-section-title {
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #555;
}

/* === jstree Styling === */

#jstree {
    font-size: 1.1rem;
}

.jstree-anchor {
    padding: 0.5rem 1rem;
}

