@import "../../node_modules/leaflet/dist/leaflet.css";
/* resources/css/app.css */
@import 'select2/dist/css/select2.css';

body {
    background-color: #f0f0f0;
}
#reportrange{
background-color: var(--bs-secundary-bg);
padding: .375rem .75 rem !important;
font-size: x-small;
color: black;
display: block;
margin: 5px;
border-radius:var(--bs-border-radius);
}

/* Estilos generales para el dashboard */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.container-horizontal {
    width: 50%;
   /*  max-width: 49%;  Para tablets y dispositivos más grandes, contenedores a lo ancho */
    border: 1px solid #fff;
    padding: 40px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 50px; 
}

.container-vertical {
    width: 100%; /* A lo largo */
    max-width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f1f1f1;
}

/* Estilo para las pestañas */
.nav-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    list-style-type: none;
    padding: 0;
}

.nav-tabs li {
    margin-right: 5px;
}

.nav-tabs li a {
    padding: 10px;
    display: block;
    background-color: #ddd;
    text-decoration: none;
    color: black;
    border-radius: 5px 5px 0 0;
}

.nav-tabs li.active a {
    background-color: #ffffff;
    border-bottom: none;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.tab-content.active {
    display: block;
}

/* Adaptación para tablets y móviles */
@media screen and (max-width: 900px) {
    .container-horizontal {
        max-width: 100%; /* En pantallas más pequeñas, el contenedor será de ancho completo */
    }

    .container-vertical {
        margin-top: 20px; /* Añadir separación */
    }
}


.flex {
  display: flex;
  justify-content:center;
  align-items: center;
}

.icon {
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* =====Topbar======= */
.topbar {
    display: flex;
    justify-content: flex-end; /* Alinea todo el contenido hacia la derecha */
    align-items: center; /* Alinea verticalmente los elementos */
    padding: 10px;
}

/* Contenedor que agrupa los tres divs */
.right-side {
    display: flex;
    gap: 20px; /* Espacio entre los elementos */
    align-items: center;
}
.search {
  flex: 1;
  padding: 5px 10px;
  background: #fff;
  border-radius: 20px;
}

.search input {
  width: 90%;
  height: 40px;
  border: none;
  outline: none;
  padding: 5px 10px;
  color: #a1a2af;
}

.search ::-webkit-input-placeholder {
  font-size: 18px;
  font-weight: 400;
  color: #a1a2af;
  font-family: inherit;
}

.theme {
  background: #fff;
  margin: 0 20px;
  border-radius: 20px;
  font-size: 25px;
  padding: 5px;
}

.dark,
.light {
  margin: 0 5px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.dark.active,
.light.active {
  background: #f9f9f9;
}

.light {
  color: #fdb600;
}

.user {
  background: #fff;
  padding: 5px 10px;
  color: #1e1e2d;
  border-radius: 20px;
  cursor: pointer;
  position:relative
}

.user img {
  width: 40px;
}

.user p {
  margin: 0 6px;
}

.notification {
  background: #fff;
  padding: 10px;
  border-radius: 20px;
  margin-right: 20px;
}
/* Dark Mode */
.darkMode {
  background: #13131d;
}

.darkMode .dashboard {
  box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.22);
}

.darkMode .sidebar {
  background: #161622;
}

.darkMode .menu-item:hover,
.darkMode .menu-item.active,
.darkMode .brand {
  color: #fff;
}

.darkMode .log-out .menu-item:hover {
  color: #f2615a;
}

.darkMode .border {
  background: #262635;
}

.darkMode .dashboard-content {
  background: #1e1e2d;
}

.darkMode .search,
.darkMode .search input,
.darkMode .user,
.darkMode .theme,
.darkMode .notification {
  background: #161622;
}

.darkMode .user,
.darkMode .notification,
.darkMode .heading h2 {
  color: #fff;
}

.darkMode .dark.active,
.darkMode .light.active {
  background: #1e1e2d;
}

.darkMode .banner {
  background: #38c947 url(https://raw.githubusercontent.com/programmercloud/nft-dashboard/main/img/bannerBG.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #161622;
}

.darkMode .btn {
  background: #fff;
  color: #161622;
}

.darkMode .category {
  color: #fff;
  background: #161622;
}

.darkMode .category .icon {
  background: #262635;
}

.darkMode .nft {
  background: #161622;
}

.darkMode .title {
  color: #fff;
}

.darkMode .top-creators,
.darkMode .graph {
  background: #13131d;
  border: none;
}

.darkMode .follow {
  background: #13131d;
  color: #fff;
}

.darkMode .graph h2,
.darkMode .creator-details h3 {
  color: #fff;
}
/* End Dark Mode */
.dropdown-menu2 {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top:10px;
    background-color: #fff;
    padding: 10px;
    z-index: 100;
    text-align: right;
    border-radius: 20px;
}

.dropdown-menu2 a {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: #a1a2af;
    text-decoration: none;
}

.dropdown-menu2 a:hover {
    color: #1e1e2d;
}
.nfts {
  padding: 0 8px;
  margin: 25px 0;
}
.heading h2 {
  font-size: 22px;
  font-weight: 600;
  color: #1e1e2d;
}

.heading p {
  font-size: 18px;
  color: #38c947;
  cursor: pointer;
}
/* =====Categories======= */

.categories {
  margin: 20px 0;
}

.category {
  background: #fff;
  padding: 6px 15px;
  border-radius: 25px;
  cursor: pointer;
  color: #161622;
  transition: 0.3s linear;
}

.category .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 8px;
  font-size: 22px;
  background: #f2f2f2;
  transition: 0.3s linear;
}

.table {
  border-spacing: 0 0.85rem !important;
  width: 100% !important;

}

.table .dropdown {
  display: inline-block;
}

.table td,
.table th {
  vertical-align: middle;
  margin-bottom: 10px;
  border: none;
  white-space: nowrap; /* evita cortes */

}

.table thead tr,
.table thead th {
  border: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
}

.table td {
  background: #fff;
}

.dataTables_scrollHeadInner, 
.dataTables_scrollHeadInner table {
    width: 100% !important;
}

.table td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.table td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > td:first-child:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr[role="row"]
  > th:first-child:before {
  top: 28px;
  left: 14px;
  border: none;
  box-shadow: none;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
  padding-left: 48px;
}

table.dataTable > tbody > tr.child ul.dtr-details {
  width: 100%;
}

table.dataTable > tbody > tr.child span.dtr-title {
  min-width: 50%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
  padding: 0.75rem 1rem 0.125rem;
}

div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    -ms-flex-pack: center !important;
    justify-content: center !important;
    margin-top: 1rem;
  }
}

.btn-icon {
  background: #fff;
}
.btn-icon .bx {
  font-size: 20px;
}

.btn .bx {
  vertical-align: middle;
  font-size: 20px;
}

.dropdown-menu {
  padding: 0.25rem 0;
}

.dropdown-item {
  padding: 0.5rem 1rem;
}

.badge {
  padding: 0.5em 0.75em;
}

.badge-success-alt {
  background-color: #d7f2c2;
  color: #7bd235;
}

.table a {
  color: #212529;
}

.table a:hover,
.table a:focus {
  text-decoration: none;
}

table.dataTable {
  margin-top: 12px !important;
}

.icon > .bx {
  display: block;
  min-width: 1.5em;
  min-height: 1.5em;
  text-align: center;
  font-size: 1.0625rem;
}

.btn {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.table td {
  border-top: none !important;	
}

#household-table{
    td, th{
	vertical-align:middle;
    }
}
.btn:disabled{
    border:none !important;	
}
.oval-button {
  border-radius: 50px !important;
  padding: 10px 20px !important; 
}
.card {
  border: none;
  background: #fff;
  transition: all 0.2s ease-in-out;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08);
}
/* 🔹 Botón sólido personalizado */
.btn-purple {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
    color: #fff !important;
}

.btn-purple:hover {
    background-color: #73808C !important;
    border-color: #73808C !important;
    color: #fff !important;
}

.btn-purple:focus,
.btn-purple:active {
    background-color: #8C96A1 !important;
    border-color: #8C96A1 !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(105, 35, 208, 0.3);
}

/* 🔹 Botón Outline personalizado */
.btn-outline-purple {
    background-color: transparent !important;
    border: 2px solid #343a40 !important;
    color: #343a40 !important;
}

.btn-outline-purple:hover {
    background-color: #343a40 !important;
    color: #fff !important;
    border-color: #343a40 !important;
}

.btn-outline-purple:focus,
.btn-outline-purple:active {
    background-color: #73808C !important;
    border-color: #73808C !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(105, 35, 208, 0.3);
}
/* Fondo morado */
.bg-purple {
    background-color: #343a40 !important;
    color: #ffffff !important; /* Texto blanco para contraste */
}

/* Opcional: hover para botones */
.bg-purple:hover {
    background-color: #73808C !important;
    color: #ffffff !important;
}

/* Opcional: bordes o cards */
.border-purple {
    border: 2px solid #343a40 !important;
}

table.dataTable tbody td.dataTables_empty {
    text-align: center !important;
    width: 100% !important;
    display: table-cell !important;
    white-space: normal !important;
    padding: 20px !important;
}
table.dataTable tbody tr td.dataTables_empty {
    colspan: 100;
}
