@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* Colores principales */
:root {
    --primary-color: #ff6e01;
    /* Color principal - naranja */
    --secondary-color: #f6f6f6;
    /* Color secundario - gris claro */
    --dark-color: #1a1a1a;
    /* Color oscuro para footer */
    --text-color: #4d4d4d;
    /* Color para textos */
    --light-color: #ffffff;
    /* Color blanco */

    /* Variables adicionales para mantener compatibilidad */
    --primary-gray: #4d4d4d;
    --dark-gray: #1a1a1a;
    --light-gray: #f6f6f6;
    --white: #ffffff;
    --primary-green: #ff6e01;
    --dark-green: #e66200;
    --light-green: #fff0e3;
    --black: #1a1a1a;
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Header y navegación */
.header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Botones */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e66200 !important;
    border-color: #e66200 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 110, 1, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    font-weight: 600;
    border-radius: 5px;
    padding: 9px 24px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Tarjetas */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: var(--light-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--secondary-color);
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.social-icon {
    color: var(--light-color);
    background-color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 110, 1, 0.3);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    color: var(--secondary-color);
}

/* Formularios */
.form-control {
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 12px 15px;
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 110, 1, 0.25);
}

/* Elementos destacados */
.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

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

.bg-dark {
    background-color: var(--dark-color) !important;
}

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

/* Estilos responsivos */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* Login styles */
.login-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background-color: var(--secondary-color);
}

.login-div p {
    font-size: 2.5rem;
    color: var(--dark-color);
    font-weight: bold;
}

.login-div p span {
    font-weight: lighter;
}

.card-primary.card-outline {
    border-top: 3px solid var(--primary-color);
}

.login-card-body {
    background-color: var(--light-color);
    border-top: 0;
    color: var(--text-color);
    padding: 20px;
    width: 380px;
}

.login-card-body p {
    font-size: .875rem;
    color: var(--text-color);
    margin: 0;
    padding: 0 20px 20px;
    text-align: center;
    font-weight: normal;
}

.footer-login p {
    font-size: 1rem;
}

.btn-outline-success {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    width: 100% !important;
}

.btn-outline-success:hover {
    background-color: var(--primary-color) !important;
    color: var(--light-color) !important;
}

.login-div2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.login-div2 p {
    font-size: 1rem;
    color: var(--text-color);
    padding: 0;
}

.login-div2 a {
    color: var(--primary-color);
    margin-left: 10px;
}

/* Layout styles */
.wrapper {
    display: flex;
    max-height: 100vh;
}

#sidebar {
    width: 70px;
    min-width: 70px;
    z-index: 1000;
    transition: all .25s ease-in-out;
    display: flex;
    flex-direction: column;
    background-color: var(--dark-color);
    box-shadow: 1rem 0 1rem -1rem rgba(0, 0, 0, .1);
}

#sidebar.expand {
    width: 200px;
    min-width: 200px;
}


#toggle-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem 1.5rem;
}

#toggle-btn i {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: var(--primary-color) !important;
    font-size: 1.15rem;
    font-weight: 600;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}

.sidebar-nav {
    padding: 1rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: var(--primary-color) !important;
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

a.sidebar-link:hover {
    background-color: #2d2d2d;
    border-left: 3px solid var(--light-color);
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: var(--dark-gray);
    padding: 0;
    min-width: 15rem;
    display: none;
    color: var(--light-color) !important;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15rem;
    width: 100%;
    opacity: 1;
    color: var(--light-color) !important;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: .25rem;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.navbar {
    background-color: var(--dark-gray) !important;
    border-bottom: 1px solid var(--primary-color);
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .1);
    padding: 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000;
    height: 60px;
    overflow: hidden;
}

.navbar ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar ul li {
    list-style: none;
}

.navbar ul li img {
    width: 105px;
}

.main {
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    background-color: var(--secondary-color);
}

.scrollable-content {
    height: 90%;
    max-height: 100vh;
    overflow-y: auto;
}

.scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #e66200;
}

.container-div {
    width: 100%;
    background: var(--light-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 20px;
    min-height: 90%;
    margin: 50px auto 0;
    padding: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    filter: drop-shadow(0 0 1rem rgba(0, 0, 0, .1));
}

/* Table styles */
#userTable,
#amenidadesTable,
#bannersTable,
#categoryTable,
#marcasTable,
#productosTable,
#blogsTable {
    width: 100% !important;
}

#userTable_filter,
#amenidadesTable_filter,
#bannersTable_filter,
#categoryTable_filter,
#marcasTable_filter,
#productosTable_filter,
#blogsTable_filter {
    margin-bottom: 30px;
}

#userTable th,
#userTable td,
#bannersTable th,
#bannersTable td,
#categoryTable th,
#categoryTable td,
#marcasTable th,
#marcasTable td,
#productosTable th,
#productosTable td,
#blogsTable th,
#blogsTable td {
    text-align: center;
    border: 1px solid var(--light-color);
    font-size: 0.9rem;
}

#userTable th,
#bannersTable th,
#categoryTable th,
#marcasTable th,
#productosTable th,
#blogsTable th {
    background-color: var(--primary-color);
    color: var(--light-color);
    min-width: 110px;
}

#userTable tbody tr:hover,
#categoryTable tbody tr:hover,
#marcasTable tbody tr:hover,
#productosTable tbody tr:hover,
#blogsTable tbody tr:hover {
    background-color: #fff0e3;
    cursor: pointer;
}

/* Botones con estilo */
#userTable .btn,
#amenidadesTable .btn,
#bannersTable .btn,
#naveTable .btn,
#categoryTable .btn,
#marcasTable .btn,
#blogsTable .btn,
#productosTable .btn {
    margin: 5px;
}

.dataTables_wrapper .dataTables_length select {
    width: 60px !important;
}

#userTable tr:nth-child(odd),
#bannersTable tr:nth-child(odd),
#categoryTable tr:nth-child(odd),
#marcasTable tr:nth-child(odd),
#productosTable tr:nth-child(odd),
#blogsTable tr:nth-child(odd) {
    background-color: var(--light-color) !important;
}

.btn-add {
    background-color: var(--primary-color) !important;
    color: var(--light-color) !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

.btn-add:hover {
    background-color: #e66200 !important;
}

.user-actions,
.project-actions {
    display: flex;
    justify-content: end;
    align-items: center;
    margin: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #fff0e3 !important;
    border: var(--light-color) !important;
    border-bottom: 1px solid var(--light-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--primary-color) !important;
    color: var(--light-color) !important;
    border: 1px solid var(--primary-color) !important;
}

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

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--light-color) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.producto-miniatura {
    width: 100px;
    height: 100px;
}

/* Form styles */
.form-div {
    border: 1px solid #dcdcdc;
    background-color: var(--light-color);
    padding: 30px;
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;
}

.form-div p {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#dropzone {
    border-style: dashed;
    border-color: var(--text-color);
    border-width: 2px;
    color: var(--text-color);
    margin: 0 auto;
    width: 80%;
}

#dropzone:hover {
    border-color: var(--primary-color);
}

#dropzone i {
    font-size: 4rem;
    margin-bottom: 20px;
}

#dropzone input {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #fff0e3 !important;
    border-color: var(--primary-color) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    color: #ff0000 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0 10px !important;
    font-weight: 500 !important;
    color: var(--text-color) !important;
}

.project-details-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
}

.project-details {
    width: 300px;
    min-height: 300px;
    height: auto;
    text-align: left;
}

.one-section {
    width: 100%;
    background: var(--secondary-color);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.os-div {
    width: 80%;
    margin: 10% auto;
    background: var(--light-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, .1);
    text-align: center !important;
}

.os-p {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Dropzone styles */
.Banner-table {
    background: var(--primary-color) !important;
    color: var(--light-color) !important;
    padding: 10px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.dropzone {
    border: none !important;
}

.dz-message {
    border-style: dotted;
    padding: 20px;
}

.dz-message p {
    margin: 0 !important;
    text-align: center !important;
}

.dropzone .dz-message {
    text-align: center !important;
    color: #555 !important;
}

.dropzone .dz-message p {
    margin: 0;
    padding: 0 !important;

}

.dz-p {
    color: #888 !important;
    font-size: 0.8rem !important;
    margin-top: 10px !important;
}

.dropzone .dz-preview {
    width: 100% !important;
    margin: 20px 0 !important;
    padding: 20px !important;
}

.dropzone .dz-preview .dz-image {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.dropzone .dz-preview.dz-image-preview {
    border-style: dotted;
    padding: 20px;
}

.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropzone .dz-preview .dz-remove {
    color: #ff0000 !important;
}

.banner-img {
    width: 100px !important;
    height: auto;
    object-fit: cover;
    margin-right: 20px;
}

.dz-preview {
    margin-top: 20px !important;
}

.container-div2 {
    background: #F2F4F6;
    border: 1px solid #dcdcdc;
    padding: 20px;
    border-radius: 5px;
}

#bannerForm .dz-preview .dz-image {
    height: 300px;
}

.dz-success-mark,
.dz-error-mark {
    display: none !important;
}

/* Dashboard styles */
.small-box.bg-info {
    background-color: var(--text-color) !important;
    color: var(--light-color);
}

.small-box.bg-success {
    background-color: var(--primary-color) !important;
    color: var(--light-color);
}

.small-box.bg-warning {
    background-color: #e9a849 !important;
    color: var(--light-color);
}

.small-box.bg-danger {
    background-color: #dc3545 !important;
    color: var(--light-color);
}

.small-box .icon {
    color: rgba(255, 255, 255, 0.2);
}

.small-box-footer {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--light-color) !important;
    display: block;
    padding: 3px 0;
    text-align: center;
    text-decoration: none;
    z-index: 10;
}

.small-box-footer:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Button styles */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #e66200 !important;
    border-color: #e66200 !important;
}

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

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

/* Footer modificado */
.sidebar-footer {
    background-color: var(--dark-color);
    padding: 10px 0;
}

.sidebar-footer a {
    color: var(--light-color);
    width: 100%;
    text-align: center;
}

.sidebar-footer a:hover {
    background-color: #2d2d2d;
}

/* Estilos para el indicador de carga en el campo de traducción */

/* Para el diseño de subcategorías en la tabla */
.text-muted {
    color: var(--text-color);
    font-size: 0.85rem;
}

#marcasTable td {
    vertical-align: middle;
}

/* Para mejorar la visualización de categorías en el select */
#id_cat option {
    padding: 6px;
}

/* Estilos para las nuevas áreas de Dropzone */

.dropzone-area:hover {
    border-color: var(--primary-color);
}

.dropzone-area .dz-message {
    text-align: center;
    color: #555;
    padding: 20px;
}

.dropzone-area .dz-message p {
    margin: 5px 0;
    font-weight: normal;
}

.dropzone-area .dz-message p.dz-p {
    color: #888;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Estilos para el carrusel de imágenes */
#imagenesCarousel {
    display: none;
    /* Se muestra cuando hay imágenes */
    margin-top: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    height: 200px;
    /* Ajusta según tus necesidades */
    background-color: #f8f9fa;
    overflow: hidden;
}

.carousel-item img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.carousel-div-btns {
    z-index: 10;
}

.dz-principal {
    border: 3px solid var(--primary-color) !important;
}


.span-pdf {
    width: 100px;
    font-size: 0.7rem;
    padding: 0 10px;
}

.carousel-caption {
    top: 0px !important;
    bottom: 0 !important;
    right: 10px !important;
}


.pdf-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.pdf-upload-container:hover {
    border-color: #ff6e01;
    background-color: #fff8f3;
}

.pdf-preview {
    margin-top: 10px;
}

.pdf-info {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.pdf-info i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.pdf-name {
    flex-grow: 1;
    margin-right: 10px;
    font-weight: 500;
}

.remove-pdf {
    padding: 2px 6px;
}


.pdf-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.pdf-upload-container:hover {
    border-color: #ff6e01;
    background-color: #fff8f3;
}

.pdf-upload-container .form-control {
    border: none;
    background: transparent;
    padding: 10px 0;
}

.pdf-upload-container .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.pdf-preview {
    margin-top: 10px;
}

.pdf-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pdf-info i {
    font-size: 1.8rem;
    margin-right: 12px;
    color: #dc3545;
}

.pdf-name {
    flex-grow: 1;
    margin-right: 12px;
    font-weight: 500;
    color: #495057;
    word-break: break-word;
}

.remove-pdf {
    padding: 4px 8px;
    font-size: 0.875rem;
    border-radius: 4px;
}

.remove-pdf:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Mejorar el aspecto del input file */
.pdf-upload-container input[type="file"] {
    cursor: pointer;
}

.pdf-upload-container input[type="file"]::-webkit-file-upload-button {
    background: #ff6e01;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.pdf-upload-container input[type="file"]::-webkit-file-upload-button:hover {
    background: #e55a00;
}