@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary-color: #001f3f; /* Dark navy blue */
    --primary-color-light: #003366; /* Lighter shade of navy blue */
    --primary-color-dark: #00152a; /* Darker shade of navy blue */
    --secondary-color: #ffd700; /* Gold */
    --secondary-color-light: #ffeb3b; /* Lighter shade of gold */
    --secondary-color-dark: #ffc107; /* Darker shade of gold */
    --text-color: #ffffff; /* White text for dark backgrounds */
    --text-color-dark: #333333; /* Dark text for light backgrounds */
    --color-bg1: rgb(8, 10, 15);
    --color-bg2: rgb(0, 17, 32);
    --color1: 18, 113, 255;
    --color2: 107, 74, 255;
    --color3: 100, 100, 255;
    --color4: 50, 160, 220;
    --color5: 80, 47, 122;
    --color-interactive: 140, 100, 255;
    --circle-size: 80%;
    --blending: hard-light;
    --gradient-bk: linear-gradient(to right, #0d6efd, #6610f2);
}

body {
    background-color: var(--primary-color);
    font-family: 'Roboto', sans-serif;
    /* color: var(--text-color); */
}

footer {
    flex-shrink: 0;
    background-color: var(--primary-color);
    color: var(--text-color);
}


#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--primary-color);
}

/* for the list leiloes view */
.favorite-form {
    z-index: 100;
}

.favorite-btn {
    border-radius: 20%;
    padding: 5px;
    z-index: 1000;
}

.not-favorite-btn {
    z-index: 1000;
}

.card {
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.02);
}

.formatted-value {
    font-size: 0.875rem;
    color: #6c757d;
}
 /* List Leiloes view */
 .swiper-container {
    width: 100%;
    height: 300px;
    position: relative;
}
.swiper-slide {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.swiper-slide-active {
    opacity: 1;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 10px;
    width: 40px;
    height: 60px;
}
.swiper-button-next {
    right: 0;
}
.swiper-button-prev {
    left: 0;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}
.swiper-pagination {
    bottom: 10px !important;
}
/* results_map view */
#map {
    height: 90vh;
    width: 100%;
}
/*  Analisis view */
.table thead th {
    text-align: center;
    vertical-align: middle;
}

.table tbody td {
    text-align: right;
}

.table tbody td:first-child,
.table tbody td:nth-child(2) {
    text-align: left;
}

#results {
    transition: opacity 0.3s ease-in-out;
}

#results.d-none {
    opacity: 0;
}

#results:not(.d-none) {
    opacity: 1;
}
/* for the sidebar */
.main-content {
    display: flex;
    justify-content: center;
    border-radius: 1rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 56px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.sidebar {
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}
/* 
.sidebar {
    width: 0;
    display: none;
    background-color: var(--primary-color); */
/* } */

.sidebar.show {
    transform: translateX(0);
}
/* .sidebar.show {
    width: 155px;
    align-items: left;
    align-self: left;
    margin-top: 0px;
    margin-left: 0px;
    border-top-right-radius: 15rem;
    position: sticky;
    display: block;
    transition: margin-left 0.3s ease-in-out;
    background-color: var(--primary-color-light);
} */


main {
    transition: margin-left 0.3s ease-in-out;
}

main.sidebar-open {
    margin-left: 250px;
}

@media (max-width: 768px) {
    main.sidebar-open {
        margin-left: 0;
    }
}

.main-content.sidebar-open {
    margin-left: auto;
    color: var(--text-color-dark);
}

.navbar_background {
    background-color: var(--primary-color);
    z-index: 1000;
}

/* Custom Bootstrap overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
}

.btn-empty {
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color-dark);
}

.btn-secondary:hover {
    background-color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
    color: var(--text-color-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* .bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
} */

.legenda {
    font-size: 0.5rem;
    color: #6c757d;
}

/* Home Styles */

.hero-section {
    background: var(--gradient-bk);
    color: var(--text-color);
}

.statistics-section {
    background: var(--gradient-bk);
    color: #0d6efd;
}

.hover-card {
    transition: transform 0.3s ease-in-out;
}

.hover-card:hover {
    transform: scale(1.05);
}

.rounded-bottom {
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

/* New styles for more rounded cards */
.rounded-4 {
    border-radius: 1rem !important;
}

.card-title {
    color: var(--text-color-dark);
}

.card-body {
    padding: 1.5rem;
    color: var(--text-color-dark);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    
}
