@font-face {
    font-family: 'Roboto';
    src: url('/static/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Italic';
    src: url('/static/fonts/Roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
}

.card-hover-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}

.body-login {
    height: 100vh;
    width: 100vw;
    background: radial-gradient(circle, #0085FF, #003465);
}

.login-card {
    z-index: 10;
    background-color: rgb(88, 130, 193, 0.28);
    backdrop-filter: blur(10px);
    color: white;
}

.btn-keycloak {
    background-color: #20BFE9;
    color: white;
}

.btn-keycloak:hover {
    background-color: #1a96b8;
    color: white;
}

.sidebar-custom-bg {
    background: linear-gradient(0, #2874F8FF, #0F2C59FF);
}

.sidebar-custom-collapse-item {
    color: rgb(255,255,255,.8) !important;
}

.sidebar-custom-collapse-item:hover {
    color: #fff !important;
    background: none !important;
}

.search-full-table-width {
    width: 100% !important;
    margin-left: 0 !important;
}

.hr-full-card-custom {
    margin-left: -15px;
    margin-right: -15px;
}

.border-left-jupyter {
    border-left: .25rem solid #FF752FFF !important;
}

.text-jupyter {
    color: #FF752FFF !important;
}

.border-left-minio {
    border-left: .25rem solid #B13741FF !important;
}

.text-minio {
    color: #B13741FF !important;
}

.logo-apps-homepage {
    height: 55px;
    width: 55px;
}

.text-bleu-fonce {
    color: #003465 !important;
}

.bg-bleu-fonce {
    background-color: #003465 !important;
}

.text-xl {
    font-size: 1.4rem;
}

.rounded-xl {
    border-radius: 1rem !important;
}

.btn-select-profile {
    color: #003465;
    background-color: #fff;
    border-color: #85879685;
}

.btn-select-profile:hover {
    color: #fff;
    background-color: #003465;
}

/* Fancy logo styling */
.logo-fancy {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    padding: 8px !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    /* Test style to make sure it's working */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
    /* Additional visible effect */
    transform: perspective(1000px) rotateY(0deg) !important;
}

.logo-fancy::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.5s !important;
}

.logo-fancy:hover::before {
    left: 100% !important;
}

.logo-fancy:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.sidebar-brand-icon .logo-fancy {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Sidebar spacing fixes */
.sidebar-brand {
    margin-bottom: 3rem !important;
    padding-bottom: 1.5rem;
    min-height: 120px;
}

.sidebar-brand-text {
    margin-top: 0.75rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

/* Additional spacing for the first nav item */
#accordionSidebar .nav-item:first-of-type {
    margin-top: 1rem !important;
}

/* Ensure proper spacing between sidebar brand and navigation */
.sidebar-brand + .nav-item {
    margin-top: 1.5rem !important;
}
