
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    .stats-cards .ui.card h2 {
        font-size: 1.2rem;
    }

    .filter-card .field {
        margin-bottom: 10px;
    }
}


body {
    margin: 0;
    padding-bottom: 100px !important; 
    transition: background 0.3s ease, color 0.3s ease;
}

/*body {
    background: linear-gradient(135deg, #f7f7f7, #e9e9e9);
}
*/
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 10px;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.fields .align-end {
    display: flex;
    align-items: flex-end;
}

.ui.table th, .ui.table td {
    text-align: center;
    padding: 12px 8px;
}

.ui.table tbody tr:hover {
    background: rgba(11, 114, 133, 0.05);
    cursor: pointer;
}

.welcome-segment {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.table-responsive {
    overflow-x: auto;
}

.glass-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}


.welcome-card {
    text-align: left;
}


.filter-card .ui.form input {
    border-radius: 8px;
}


.stats-cards .ui.card {
    text-align: center;
}


.table-card {
    overflow-x: auto;
}


.table-responsive {
    overflow-x: auto;
}

.ui.table th, .ui.table td {
    text-align: center;
    padding: 12px 8px;
}

.ui.table tbody tr:hover {
    background: rgba(11, 114, 133, 0.05);
}


.fields .align-end {
    display: flex;
    align-items: flex-end;
}

.manual-time-cell {
    background-color: #fff6e6;
}

tr.disabled {
    opacity: 0.5;
}



.mobile-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

    .mobile-table-wrapper table {
        white-space: nowrap; 
    }

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.dark-theme {
    background: #1a1a1a;
    color: #f1f1f1;
}

.dark-theme .premium-navbar,
.dark-theme .pro-navbar {
    background: rgba(0, 0, 0, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .drawer-item {
    color: #f1f1f1 !important;
    border-color: #333;
}

.dark-theme .pro-footer {
    background: rgba(20, 20, 20, 0.65);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dark-theme .footer-links a {
    color: #86e0f9 !important;
}

.dark-theme .footer-social i:hover {
    color: #86e0f9;
}


.pro-footer {
    position: fixed;
    bottom: 0;
    margin-top: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-top: 1px solid rgba(0,0,0,0.12);
    z-index: 900;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.footer-container {
/*    max-width: 1100px;*/
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.footer-links a {
    margin: 0 10px;
    color: #0b7285 !important;
    transition: color 0.2s ease;
}

    .footer-links a:hover {
        color: #0a5d6c !important;
        text-decoration: underline;
    }

.footer-social i {
    margin-left: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s;
}

    .footer-social i:hover {
        color: #0b7285;
        transform: translateY(-2px);
    }

.footer-hidden {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.ui.ui.ui.container:not(.fluid) {
    padding-bottom: 2rem;
}



.filter-label {
    position: relative;
    padding-right: 10px;
    font-weight: 600;
}

.filter-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    background: #2185d0;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 20px;
    min-width: 18px;
    text-align: center;
}
.notification-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #db2828;
    color: white;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 50px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}



    .ui.grid {
        padding-bottom: 3rem;
    }

    @media (min-width: 768px) {
        .desktop-only {
            display: flex;
        }

        .menu-toggle {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .desktop-only {
            display: none;
        }

        .menu-toggle {
            font-size: 22px;
            cursor: pointer;
        }
    }

    .desktop-only {
        display: flex !important;
    }

    @media (max-width: 768px) {
        .desktop-only {
            display: none !important;
        }
    }

    .mobile-only {
        display: none !important;
    }

    @media (max-width: 768px) {
        .mobile-only {
            display: flex !important;
            flex-direction: column;
            gap: 6px;
        }
    }


    /*table mobile format*/
    @media only screen and (max-width: 800px) {

        /* Force table to not be like tables anymore */
        #no-more-tables table,
        #no-more-tables thead,
        #no-more-tables tbody,
        #no-more-tables th,
        #no-more-tables td,
        #no-more-tables tr {
            display: block;
        }

            /* Hide table headers (but not display: none;, for accessibility) */
            #no-more-tables thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

        #no-more-tables tr {
            border: 1px solid #ccc;
        }

        #no-more-tables td {
            /* Behave  like a "row" */
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 50%;
            white-space: normal;
            text-align: left;
        }

            #no-more-tables td:before {
                /* Now like a table header */
                position: absolute;
                /* Top/left values mimic padding */
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
            }

            /*
	Label the data
	*/
            #no-more-tables td:before {
                content: attr(data-title);
            }
    }
    /*.ui.modal {
    z-index: 1001;
}

.ui.dimmer {
    z-index: 1000;*/
}
/*.ui.manual-dtr-modal {
    z-index: 1000–2000;
}*/
