:root {
    --tropiciel-green: #16a34a;
    --tropiciel-green-hover: #15803d;
    --tropiciel-green-light: #f0fdf4;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}
.bg-tropiciel { background-color: var(--tropiciel-green) !important; }

.text-tropiciel { color: var(--tropiciel-green) !important; }

.btn-tropiciel {
    background-color: var(--tropiciel-green);
    border-color: var(--tropiciel-green);
    color: white;
}

.btn-tropiciel:hover {
    background-color: var(--tropiciel-green-hover);
    border-color: var(--tropiciel-green-hover);
    color: white;
}

.nav-link.active {
    background-color: var(--tropiciel-green-light) !important;
    color: var(--tropiciel-green) !important;
    font-weight: 600;
}

.card { border: 1px solid #e2e8f0; border-radius: 12px; }

.table thead th { 
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}
.logout-btn a {
    color: initial;
}
.logout-btn:hover {
    background-color: rgba(233, 3, 11, 0.25);
}
.burger {
    cursor: pointer;
    animation: rotateBackwardsAnimation .5s forwards;
    display: none;
}
.burger-open {
  transition: transform 0.5s ease; 
  animation: rotateAnimation 0.5s forwards; 
}
.sidenav {
    min-height: calc(100vh - 64px);
    background: white;
    display: flex !important;
    
}
.sidebar {
    width: 280px;
}

.stats-panel {
    box-shadow: 0 0 20px rgba(2,59,109,.1);
    border: 1px solid rgb(220,220,220);
    background-color: white;
    & h5 {
        margin: 0;
    }
    & sm {
        font-size: .8em;
    }
}
.canvas-chart {
    max-width: 60vw;
}

.page-link.inputable {
    width: 35px; 
    padding-left: 2px; 
    padding-right: 2px; 
    text-align: center;
}

.dot {
    font-size: 30px;
    height: 24px !important;
    display: flex;
    place-items: center;
    margin-right: .1em;
    &.red {
        color: red;
    }
    &.green {
        color: green;
    }
    &.gray {
        color: gray;
    }
    &.blue {
        color: #007fff;
    }
}
.hover-lift {
    cursor: pointer;
    background-color: rgba(255,255,255,.5) !important;
    border-radius: 1rem !important;
    transition: all .3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.15) !important;
}

/* LOGIN PAGE */
.text-green-tropiciel {
    color: #8cbd30 !important;
}
.login-bg {
    background-image: url(../assets/highway.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.transparency {
    background: rgba(0,0,0,.6);
    box-shadow: 0 0 20px rgba(2,59,109,.1);
}
.card {
    text-decoration: none;
}
.nav a {
    text-decoration: none;
    color: inherit;
}

@media screen and (max-width: 1199px) {
    .burger {
        display: inline-block;
    }
    .sidenav {
        position: fixed;
        top: 64px;
        left: 0;
        transform: translateX(-320px);
        z-index: 1000;
        transition: transform 0.3s ease;
        background-color: #f8f9fa;
    }
    .sidenav.show {
        transform: translate(0);
    }
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }
    .overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

.main-content {
    flex: 1;
    height: calc(100vh - 64px);
    overflow-y: auto;
}
.hover-bg-light:hover {
    background-color: #f8fafc;
}
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotateAnimation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(180deg);
    }
}
@keyframes rotateBackwardsAnimation {
    from {
      transform: rotate(180deg);
    }
    to {
      transform: rotate(0deg);
    }
}