/* General body styling */
html, body {
    height: 100%; /* Ensure body takes up the full height of the viewport */
    margin: 0;
    padding: 0;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    position: fixed; /* Fix the header at the top */
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    z-index: 1000; /* Ensures header stays on top of content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Small shadow for visibility */
}

/* Logo */
.logotop {
    width: 100px;
    height: auto;
    cursor: pointer;
}

/* Navigation */
.containerLeftUl {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: end;
}

.containerLeftUl li {
    display: flex;
    align-items: center;
}

.containerLeftUl a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.containerLeftUl a:hover {
    color: orange;
}

.containerRight {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerRightAlt {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Main content area (yield) */
body {
    display: flex;
    flex-direction: column; /* Make sure we stack elements */
    height: 100%;
    /* Use background-color only — `background` shorthand clears layered background-image (dashboard photo on body) */
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.55;
}

.yield {
    padding: 24px;
    margin-top: 80px; /* To offset the fixed header */
    flex-grow: 1; /* Take the remaining space */
    background-color: transparent;
    /* Allow the content to scroll when needed */
}

.container {
    max-width: 1200px;
}

.card,
.modal-content {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.08);
    position: relative; /* Positioned at the bottom of the body */
}

/* Custom scrollbar (hidden) */
*::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}
.navbar-nav .nav-link:hover {
    color: #1d4ed8; /* Primary blue */
    background-color: rgba(29, 78, 216, 0.12);
    border-radius: 8px;
}

/* Footer social row: same box size and vertical alignment for images + share icon */
.footer-social-icons .footer-social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
}

.footer-social-icons .footer-social-icon-link.btn-link {
    color: inherit;
}

.footer-social-icons .footer-social-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    display: block;
}

.footer-social-icons .footer-social-icon-link .fa-share-nodes {
    font-size: 1.5rem;
    line-height: 1;
}
