/* --- Global styles --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0px;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

@keyframes scroll-bg {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -100% 0;
    }
}

.color-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(33, 37, 41, 0.925);
    z-index: -1;
}

.scrolling-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('./assets/after-sunset-minimal-4k-zm-3840x2400.jpg');
    background-repeat: repeat-x;
    background-size: auto 100%;
    animation: scroll-bg 30s linear infinite;
    z-index: -2;
}

/* --- Widget Styling --- */

.widget {
    border: 1px solid rgb(0, 0, 0, 0.20);
    background-color: rgb(31, 35, 39, 0.9);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.widget-header {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}


.icon-widget {
    padding: 10px;
    text-align: center;
}

/* --- Layout Specific Styles --- */
.centered-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.three-column-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.split-column-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    /* Sidebar and content */
    gap: 20px;
    padding: 20px;
}

.split-column-layout.collapsed-sidebar {
    grid-template-columns: 80px 1fr;
    /* Collapsed sidebar width */
}


/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Ensure modal is on top */
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 80%;
    /* Adjust as needed */
    max-width: 800px;
    /* Maximum width */
}

/* --- Responsive adjustments (example) --- */
@media (max-width: 768px) {
    .three-column-layout {
        grid-template-columns: 1fr;
        /* Stack columns on smaller screens */
    }

    .split-column-layout {
        grid-template-columns: 1fr;
        /* Stack sidebar and content */
    }

    .split-column-layout.collapsed-sidebar {
        grid-template-columns: 1fr;
        /* Stack even if collapsed */
    }
}

/* --- Custom styles --- */

.login-container {
    background-image: url('./assets/images.jpg');
    /* Replace with your logo path */
    background-repeat: no-repeat;
    background-position: center top;
    /* Center the logo at the top */
    background-size: 80x 80px;
    /* Adjust the size of the logo */
    padding-top: 60px;
    /* Add padding to create space for the logo */
    text-align: center;
    /* Center text and form elements */
}

.logo {
    display: block;
    margin: 0 auto 20px;
    /* Center the logo and add space below */
    max-width: 100px;
    /* Adjust the size as needed */
    width: 80px;
    /* Set the width of the logo */
    height: 80px;
    /* Set the height of the logo */
    border-radius: 50%;
    /* Make the logo circular */
    background-image: url('./assets/images.jpg');
    /* Replace with your logo path */
    background-size: cover;
    /* Cover the entire area */
    margin: 0 auto 20px;
    /* Center the logo and add space below */
}