/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* Header styling */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

/* Navigation styling */
nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    color: #333;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    color: hsl(118, 74%, 23%);
}

/* Main content styling */
main {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



/* Footer styling */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}


    /* Table Styling */
    #observationsTable {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    #observationsTable th {
        background: hsl(118, 100%, 13%);
        color: white;
        text-align: left;
        padding: 12px;
        font-size: 16px;
        cursor: pointer;
    }

    #observationsTable th:hover {
        background: hsl(118, 98%, 21%);
    }

    #observationsTable td {
        padding: 12px;
        border-bottom: 1px solid #ddd;
    }

    #observationsTable tbody tr:nth-child(even) {
        background: #f8f9fa;
    }

    #observationsTable tbody tr:hover {
        background: #e9ecef;
        transition: 0.3s ease-in-out;
    }

    /* Dropdown Styling */
    #rankFilter {
        padding: 8px;
        font-size: 14px;
        border-radius: 5px;
        border: 1px solid hsl(118, 100%, 13%);
        outline: none;
        margin-bottom: 10px;
    }

    /* Sortable Icons */
    .sortable {
        /* display: flex; */
        align-items: center;
        justify-content: space-between;
    }

    .sortable::after {
        content: " ⬍"; /* Unicode up/down arrows */
        font-size: 12px;
    }
    #observationsTable th {
        white-space: nowrap; /* Prevents text from wrapping */
        padding: 12px 15px;
        text-align: left;
    }
    
    #observationsTable td {
        padding: 12px 15px;
    }
    
    #observationsTable {
        table-layout: fixed;
        width: 100%;
    }
    
    #observationsTable th,
    #observationsTable td {
        overflow: hidden;
        text-overflow: ellipsis;
        /* white-space: nowrap; */
    }
        /* Fullscreen Loading Overlay */
        #loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: none; /* Hidden initially */
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }
    
        /* Spinner and Text */
        .spinner-container {
            text-align: center;
        }
    
        .spinner-border {
            width: 3rem;
            height: 3rem;
        }
    
        /* Fade-in effect */
        .fade-in {
            animation: fadeIn 0.3s ease-in-out;
        }
    
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        h1.navbar-brand {
            font-size: 24px;
            margin-bottom: 0;
            color: hsl(118, 100%, 13%);
            font-weight: bold;
        }

        @media (max-width: 991px) {
            h1.navbar-brand {
                font-size: 20px;
            }
            .navbar-collapse {
                margin-top: 1rem;
            }
            .navbar-nav {
                text-align: right;
            }
            .content-wrapper {
                flex-direction: column;
            }
            
            #tekst, #aerofoto {
                width: 100%;
            }
            p, a, li{
                font-size: 30px;
            }
            h2 {
                font-size: 16px;
                margin-bottom: 20px;
                color: hsl(118, 100%, 13%);
                font-weight: bold;
            }
        }
