/* General body styling */
body {
    background-color: #fff; /* light background */
    color: #141B37; /* dark text */
}

body, html {
    overflow-x: hidden;
}

/* Navbar styling */
.navbar {
    background-color: #141B37; /* dark navy background */
    border-bottom: 3px solid #f8f9fa; /* thin white border at bottom */
}

.navbar-brand, .nav-link {
    color: white !important; /* white text on navbar */
}

.navbar-nav .nav-link:hover {
    background-color: white;
    color: #000000 !important;
    border-radius: 5px;
}

@media (orientation: landscape) and (max-height: 500px) {
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
    }

        .navbar-nav .nav-item {
            white-space: nowrap;
        }
}


/* Customizing the hamburger icon */
.navbar-toggler {
    border-color: white; /* Makes the border of the toggler white */
    color: white; /* Makes the border of the toggler white */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    /* This changes the default black lines to white lines for better contrast */
}




/* Main container and footer styling */
.container {
    padding: 10px;
    border-radius: 10px; /* rounded edges */
}

/* Footer styling */
.footer {
    background-color: #141B37;
    color: white;
    padding: 10px 0; /* Reduced padding */
    text-align: center;
}

    .footer .container {
        padding: 0; /* Remove padding from the container */
    }

    .footer .social-icons {
        list-style: none;
        padding: 0;
        margin: 0; /* Remove default margin/padding */
    }

        .footer .social-icons li {
            display: inline-block;
            margin-right: 10px;
        }

            .footer .social-icons li a {
                color: white;
                font-size: 1.2rem; /* Adjust size of icons if needed */
            }

                .footer .social-icons li a:hover {
                    color: #f8f9fa; /* Slight hover effect */
                }


/* Adjusting pages / buttons */
.form-group {
    margin-bottom: 25px; /* Adds spacing between form fields */
}

/* Adds more spacing around buttons */
.btn {
    margin-top: 15px; /* Adds spacing above the buttons */
}

.btn-primary {
    background-color: #141B37;
    border-color: #141B37;
    color: #ffffff;
}

 /*   .btn-primary:hover {
        background-color: #141B37;
        border-color: #141B37;
        color: #ffffff;
    }*/



.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.news-content {
    flex: 1;
    padding-right: 15px;
}

.news-image-container {
    flex-shrink: 0;
    max-width: 300px;
}

.news-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 5px;
}


/* Accordion */
.bg-accordion {
    background-color: #141B37 !important;
    color: white !important;
}

.accordion-button {
    background-color: #141B37 !important;
    color: white !important;
}

    .accordion-button::after {
        filter: invert(1);
    }


@media (max-width: 767px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image-container {
        max-width: 100%;
        margin-top: 10px;
    }

    .news-image {
        max-width: 100%;
    }
}


/* Responsive and smaller screen adjustments */
@media (max-width: 767px) {
    .navbar {
        background-color: #141B37;
    }
}

/*Kit Requests*/
@media (min-width: 768px) {
    .custom-col-md-12-5 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }
}

@media (min-width: 768px) {
    .custom-col-md-6-25 {
        flex: 0 0 6.25%;
        max-width: 6.25%;
    }
}

/* Kit Manager */
.kit-container {
    display: flex;
    gap: 15px;
    padding: 10px;
}

.kit-header {
    background-color: #141B37; /* dark navy background */
}

.kit-column {
    min-height: 300px;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
}

.kit-item {
    background: #e9ecef;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: grab;
}

    .kit-item:hover {
        background: #dee2e6;
    }

    .kit-item h6 {
        margin: 0;
    }

.kit-column h3 {
    text-align: center;
    padding: 10px;
    background: #007bff;
    color: white;
    border-radius: 4px;
}

/* New: Non-kit styling */
.kit-item.kit {
    border-left: 5px solid #141B37;
}

.kit-item.non-kit {
    border-left: 5px solid #ffc107;
}


.kit-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

    .kit-thumbnail-wrapper .magnifier-icon {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        padding: 6px;
        color: white;
        font-size: 1rem;
        pointer-events: none;
    }

    .kit-thumbnail-wrapper:hover::after {
        content: 'Click to show full scale';
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #000000cc;
        color: white;
        padding: 2px 8px;
        font-size: 0.8rem;
        border-radius: 4px;
        white-space: nowrap;
    }