
body {
    margin-top: 4em;
}

#navigation-logo {
    max-height: 60px;
    max-width: 90%;
    border: 3px solid black;
    border-radius: 30%;
}

/* Footer styles */
.footer {
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
}

.footer-logo {
    max-height: 40px;
    width: auto;
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff !important;
}

/* Main content area */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Navigation logo */
#navigation-logo {
    max-height: 40px;
    width: auto;
}

/* Custom CSS for vertical right-side navbar */
.vertical-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;  /* Full height */
    width: 200px;  /* Adjust width as needed */
    z-index: 1030; /* Same as Bootstrap’s default navbar */
}

.navbar-nav .nav-item {
    padding: 10px; /* Add some padding for better spacing */
}

.navbar-nav .nav-link {
    color: #fff; /* White text for dark background */
    text-align: left; /* Align text to the left */
}

.navbar-nav .nav-link:hover {
    background-color: #343a40; /* Darker background on hover */
    color: #ccc; /* Slight color change on hover */
}

.customer-result:hover {
    background-color: #eef5ff;
}

/* Mobile screens (less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 10px;
    }
}

/* Tablets and medium screens (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 20px;
    }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
    .container {
        padding: 40px;
    }
}

.card-image, .documentation-image {
    border: black solid 2px;
    border-radius: 5px;
    max-width: 100px;
    max-height: 100px;
    margin: auto;
    margin: 10px;
}

.documentation-image-phone {
    border: black solid 2px;
    border-radius: 5px;
    max-width: 300px;
    max-height: 600px;
    margin: auto;
    margin: 10px;
}

/* .card-img-top {
    height: 60px;
    max-width: 60px;
    /* padding-top: 15px; */
  } */
  
#card-container {
    /* height: 100px; */
    padding: 15px;
}

.category-icon {
    max-width: 100px;
}

/* =========================================================
   Button Overrides (Forest Green Palette)
   ========================================================= */

:root {
    --forest-green: #1f6f43;
    --forest-green-dark: #155c36;
    --forest-green-light: #e6f2eb;
}

/* Base button styling */
.btn {
    border: 2px solid #000 !important;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: none !important;
}

/* Primary buttons (Create, Sync, Save) */
.btn-primary {
    background-color: var(--forest-green) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--forest-green-dark) !important;
    color: #fff !important;
}

/* Secondary / outline buttons */
.btn-outline-secondary {
    background-color: #fff !important;
    color: #000 !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--forest-green-light) !important;
    color: #000 !important;
}

/* Info buttons (legacy Bootstrap usage) */
.btn-info {
    background-color: #f0f4f2 !important;
    color: #000 !important;
}

.btn-info:hover,
.btn-info:focus {
    background-color: #dde8e2 !important;
    color: #000 !important;
}

/* Remove Bootstrap glow */
.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none !important;
}

/* =========================================================
   Work Order List Blocks
   ========================================================= */

.workorder-block {
    border: 2px solid #000;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background-color: #fff;
}

.workorder-block hr {
    margin: 0.5rem 0;
}

/* =========================================================
   Print Styles (Tech-Friendly)
   ========================================================= */

@media print {

    /* Hide UI chrome */
    nav,
    .navbar,
    .btn,
    .footer {
        display: none !important;
    }

    body {
        font-size: 12px;
        margin-top: 0;
    }

    h1, h2, h3, h4 {
        page-break-after: avoid;
    }

    .workorder-block {
        page-break-inside: avoid;
    }

}

/* ========================= */
/* Button spacing helpers   */
/* ========================= */

.gap-2 > * {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ========================= */
/* Work Order Detail tweaks */
/* ========================= */

.card {
    border: 2px solid #000;
}

.btn-outline-dark {
    border: 2px solid #000;
}
