@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('font-awesome/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

a, .btn-link {
    color: #0891b2;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, .btn-link:hover {
    color: #0e7490;
    text-decoration: underline;
}

/* ========================================
   SIDEBAR & NAVIGATION - Medical Theme
   ======================================== */

/* Sidebar Container */
.sidebar {
    background: linear-gradient(180deg, #0891b2 0%, #0e7490 60%, #155e75 100%) !important;
}

/* Sidebar Navigation Links - Override Bootstrap */
.sidebar .nav-link,
.sidebar .nav-item a,
.sidebar a.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.6rem 1rem;
    margin: 0.15rem 0.5rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-item a:hover,
.sidebar a.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    text-decoration: none;
}

.sidebar .nav-link.active,
.sidebar a.nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-left: 3px solid #67e8f9;
    font-weight: 600;
}

/* Sidebar Icons */
.sidebar .oi,
.sidebar .nav-link .oi {
    color: rgba(255, 255, 255, 0.9) !important;
    width: 1.5rem;
    margin-right: 0.5rem;
}

.sidebar .nav-link.active .oi {
    color: #67e8f9 !important;
}

/* Top Row Header */
.top-row {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%) !important;
}

.top-row a,
.top-row .btn-link,
.navbar-brand {
    color: #ffffff !important;
}

.top-row a:hover,
.top-row .btn-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
}

/* ======================================== */

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    border: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {

}

@media (min-width: 768px) {

}

.wait-Dialouge {
    width: 100%;
    display: block;
    background-color: rgba(10,10,10,.8);
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
