
/*Encabezado */


.navbar-brand img {
    max-width: 300px !important;
}

.breadcrumb {
    display: none !important;
}
.hostiko-banner-whmcs {
        padding: 120px 0 5px !important;
    }
        
#header .navbar.navbar-light {
    background-color: transparent;
    padding: 35px 0 0;
    margin-bottom: -88px;
    border-bottom: 1px solid rgb(130 130 130 / 32%);
    padding-top: 0px !important;
    
}
    
.top-bar-section {
    background: #000000 !important;
    height: 47px !important;
}

.hostiko-banner-whmcs {
    padding: 111px 0 5px !important;
    margin-top: 5px !important;
}

/* Footer */

.footer-section {
    background-image: none !important;
    background-color: #000000 !important;
    
}
    footer.footer {
 
    background-color: #000000 !important;
}

.footer-section .middle-portion h4 {
    color: #bb2e2e !important;
}

.footer-section .middle-portion .links li i {
 
    color: #bb2e2e !important;
}

.footer-section .middle-portion .links {
    padding-left: 0px !important;
}

.footer-section .middle-portion .links a:hover {
    color: #bb2e2e !important;
}

.footer-logo img {
    max-width: 220px !important;
}

.footer-section {
    
    padding-top: 0px !important;

}


/* otro colores*/

.hostiko-domain-search .home-domain-search .btn-primary {
    color: #fffff !important;
}

.hostiko-domain-search .home-domain-search .btn-success:hover {
     color:  #fffff  !important;
}

.pricing-carousel .btn-success {

        color:  #fffff  !important;

}

/* Cambios Generales */


.hostiko-domain-search .home-domain-search
 {
    padding: 40px 0 60px !important;
}


.hostiko-domain-search .home-domain-search .btn-link
 {
    padding: 10px 10px 10px !important;
}

section.pricing-carousel {
    display: none;
}


section#main-body {
   
    padding: 20px 0 !important;

}

.domain-checker-bg {
    padding: 20px 0 !important; 
    background-image: none !important;
}

.domain-checker-container {

    background: none !important; 
}

#order-standard_cart .input-group-lg>.form-control {
    height: 66px !important;
}

.input-group-lg>.custom-select, .input-group-lg>.form-control, .input-group-lg>.input-group-append>.btn, .input-group-lg>.input-group-append>.input-group-text, .input-group-lg>.input-group-prepend>.btn, .input-group-lg>.input-group-prepend>.input-group-text {

    height: 66px  !important;
}

.domain-checker-bg {
    margin: 20px 0 !important;
    padding: 0px 0 !important;

}

.btn-primary:hover {
    color: #ffffff !important;
}

.badge-success {
    background-color: #bb2e2e !important;
}

.domain-promo-box .btn-warning {
    color: #ffffff; 
  
}

.btn-success:hover {
    color: #ffffff !important;
}


/* =========================================
   REDISEÑO: ÁREA DE CLIENTES - DOMINIOS
   ========================================= */

/* Shortcuts Grid */
.rs-shortcuts-container { margin-bottom: 30px; }
.rs-shortcuts-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 15px; 
}
.rs-shortcut-card {
    background: #fff; 
    border: 1px solid #eaeaea; 
    border-radius: 10px; 
    padding: 25px 15px;
    text-align: center; 
    text-decoration: none !important; 
    color: #444; 
    transition: all 0.3s ease;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.rs-shortcut-card:hover { 
    border-color: #ff6b6b; 
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.1); 
    transform: translateY(-3px); 
    color: #c1272d; 
}
.rs-shortcut-card i { 
    font-size: 35px; 
    color: #ff6b6b; 
    margin-bottom: 15px; 
}
.rs-shortcut-card span { 
    font-weight: 600; 
    font-size: 14px; 
}

/* =========================================
   REDISEÑO: TABLA DE DOMINIOS (ESTILO CARDS)
   ========================================= */

.table-container { background: transparent !important; border: none !important; }

.rs-domain-table {
    border-collapse: separate !important;
    border-spacing: 0 10px !important; /* Espacio entre las filas */
    border: none !important;
}

/* Cabeceras */
.rs-domain-table thead th { 
    background: transparent !important; 
    border: none !important;
    font-weight: 700; 
    color: #888; 
    font-size: 12px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
}

/* Filas estilo Tarjeta */
.rs-domain-table tbody tr {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* Sombra sutil */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
}
.rs-domain-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08); /* Sombra al pasar el mouse */
}

/* Celdas */
.rs-domain-table td { 
    vertical-align: middle !important; 
    padding: 20px 15px !important; 
    border-top: 1px solid #f4f5f7 !important;
    border-bottom: 1px solid #f4f5f7 !important;
}
/* Bordes redondeados en las esquinas de cada fila */
.rs-domain-table tbody td:first-child {
    border-left: 1px solid #f4f5f7 !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.rs-domain-table tbody td:last-child {
    border-right: 1px solid #f4f5f7 !important;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Texto del Dominio más grande y destacado */
.rs-domain-name { 
    font-weight: 800; 
    color: #111; 
    font-size: 17px; 
    text-decoration: none !important; 
    letter-spacing: -0.3px;
}
.rs-domain-name:hover { color: #c1272d; }

/* Íconos de Features */
.rs-features-icons i { font-size: 17px; margin-right: 8px; cursor: help; }

/* Menú 3 puntos (Más grandes) */
.rs-actions-btn { 
    background: none; border: none; 
    font-size: 24px; /* Tamaño aumentado */
    color: #999; cursor: pointer; 
    padding: 5px 10px; border-radius: 6px;
    transition: 0.2s;
}
.rs-actions-btn:hover, .rs-actions-btn:focus { color: #111; background: #f0f0f0; outline: none; }
.dropdown-item i { margin-right: 10px; color: #666; }
.dropdown-item:hover i { color: #c1272d; }


/* Etiqueta Delegated Estilo Moderno */
.rs-badge-delegated {
    border: 1px solid #f39c12;
    color: #e67e22;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-left: 10px;
    cursor: help;
    vertical-align: middle;
}

/* Alineación del buscador inyectado */
#rsSearchContainer .dataTables_filter {
    text-align: right;
}
#rsSearchContainer .dataTables_filter input {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 4px 10px;
}


/* =========================================
   VERSIÓN MÓVIL: TABLA A TARJETAS (STACKED CARDS)
   ========================================= */

@media (max-width: 767px) {
    /* Desactivar scroll horizontal forzado por WHMCS */
    .table-container { overflow-x: hidden !important; border: none !important; }
    
    /* Ocultar las cabeceras de la tabla en móvil */
    .rs-domain-table thead { display: none !important; }
    
    /* Forzar a la tabla y sus elementos a comportarse como bloques y no como celdas */
    .rs-domain-table, .rs-domain-table tbody, .rs-domain-table tr, .rs-domain-table td {
        display: block;
        width: 100%;
    }
    
    /* Diseño de la Tarjeta (Fila) */
    .rs-domain-table tbody tr {
        margin-bottom: 20px;
        border-radius: 12px;
        border: 1px solid #eaeaea;
        padding: 20px 15px;
        position: relative; /* Crucial para posicionar el checkbox y menú */
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    /* Diseño interior de cada dato (Celda) */
    .rs-domain-table tbody td {
        text-align: right !important;
        padding: 10px 0 !important;
        border: none !important;
        border-bottom: 1px dashed #f0f0f0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .rs-domain-table tbody td:last-child { border-bottom: none !important; }
    
    /* Inyectar los títulos (labels) a la izquierda de cada dato */
    .rs-domain-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #888;
        text-align: left;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* --- POSICIONAMIENTO ESPECIAL (Estilo Only Domains) --- */
    
    /* 1. Nombre del Dominio (Arriba y destacado) */
    .rs-domain-table tbody td:nth-child(2) {
        font-size: 18px;
        font-weight: bold;
        border-bottom: 1px solid #eaeaea !important;
        padding-bottom: 15px !important;
        padding-left: 35px !important; /* Deja espacio para el checkbox */
        margin-bottom: 10px;
        justify-content: flex-start;
    }
    .rs-domain-table tbody td:nth-child(2)::before { display: none; /* Oculta la etiqueta "Dominio" */ }
    
    /* 2. Checkbox (Esquina superior izquierda) */
    .rs-domain-table tbody td:nth-child(1) {
        position: absolute;
        top: 25px;
        left: 15px;
        padding: 0 !important;
        width: auto;
        border: none !important;
    }
    .rs-domain-table tbody td:nth-child(1)::before { display: none; }
    
    /* 3. Menú de 3 puntos (Esquina superior derecha) */
    .rs-domain-table tbody td:nth-child(7) {
        position: absolute;
        top: 15px;
        right: 10px;
        padding: 0 !important;
        width: auto;
        border: none !important;
    }
    .rs-domain-table tbody td:nth-child(7)::before { display: none; }
}

/* =========================================
   VERSIÓN MÓVIL: SHORTCUTS COMPACTOS
   ========================================= */
@media (max-width: 767px) {
    .rs-shortcuts-grid {
        grid-template-columns: repeat(2, 1fr); /* Fuerza 2 columnas */
        gap: 8px; /* Menos espacio entre botones */
    }
    
    .rs-shortcut-card {
        flex-direction: row; /* Ícono al lado del texto */
        padding: 10px 8px; /* Menos margen interno */
        justify-content: center;
        align-items: center;
        min-height: 50px;
    }

    .rs-shortcut-card i {
        font-size: 18px; /* Ícono más pequeño */
        margin-bottom: 0; /* Quita el margen de abajo */
        margin-right: 8px; /* Espacio entre ícono y texto */
    }

    .rs-shortcut-card span {
        font-size: 11px; /* Texto más pequeño */
        line-height: 1.1;
        text-align: left;
    }
}


/* =========================================
   REDISEÑO: DETALLES DEL DOMINIO (DASHBOARD MÁSTER)
   ========================================= */

/* Navegación de Pestañas Modernas */
.rs-domain-tabs { border-bottom: 2px solid #eaeaea; margin-bottom: 25px; display: flex; gap: 20px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
.rs-domain-tabs .nav-link { border: none; background: transparent; color: #666; font-weight: 600; padding: 10px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.rs-domain-tabs .nav-link.active { color: #111; border-bottom-color: #bb2e2e; }

/* Banner Unificado de Ancho Completo Distribución Perfecta */
.rs-status-banner { 
    background: #000000; 
    border-radius: 12px; 
    padding: 30px; 
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    margin-bottom: 30px; 
    color: #ffffff; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); 
    display: block; 
    width: 100%;
}
.rs-btn-red { background: #bb2e2e !important; color: #fff !important; border: none; padding: 12px 25px; border-radius: 8px; font-weight: bold; text-transform: uppercase; transition: 0.3s; display: inline-block; }
.rs-btn-red:hover { background: #9a2525 !important; box-shadow: 0 4px 10px rgba(187, 46, 46, 0.4); text-decoration: none; color: #fff !important; }
.rs-text-red { color: #bb2e2e !important; }

/* Tarjetas de Configuración */
.rs-dash-card { background: #fff; border: 1px solid #eaeaea; border-radius: 10px; padding: 25px; padding-top: 10px !important; padding-bottom: 10px !important; margin-bottom: 10px; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); }
.rs-dash-card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f5f5f5; padding-bottom: 12px; margin-bottom: 15px; }
.rs-dash-card-title { font-weight: 700; font-size: 16px; color: #222; margin: 0; }
.rs-dash-btn-edit { background: #555; color: #fff; border: none; padding: 6px 15px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: 0.2s; }
.rs-dash-btn-edit:hover { background: #333; color: #fff; text-decoration: none; }

/* Filas de Configuración Unificadas de Extremo a Extremo */
.rs-dash-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f5f5f5;
}
.rs-dash-row-item:last-child { border-bottom: none; padding-bottom: 0; }
.rs-dash-row-item:first-of-type { padding-top: 5px; }

/* Toggles Estilizados */
.rs-toggle-form { display: inline-block; margin: 0; }
.rs-toggle-btn { padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 12px; border: none; min-width: 100px; text-align: center; }
.rs-toggle-btn.btn-success { background: #28a745; box-shadow: 0 2px 5px rgba(40,167,69,0.3); color: #fff; }
.rs-toggle-btn.btn-danger { background: #6c757d; box-shadow: none; color: #fff; }

/* Estilo del Iframe SPA (Controlado por JS) */
 .rs-spa-iframe { width: 100%; border: none; height: 1600px !important; background: transparent; overflow: hidden; transition: height 0.3s ease; }

/* Diseño de Adaptación Móvil */
@media (max-width: 767px) {
    .rs-status-banner { padding: 20px; }
    .rs-status-banner .row { text-align: center; }
    .rs-status-banner .text-md-right { text-align: center !important; margin-top: 15px; }
    .rs-status-banner .btn { width: 100%; }
}

@media (max-width: 767px) {
        .rs-domain-tabs { flex-wrap: wrap !important; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
        .rs-domain-tabs .nav-item { width: 48%; text-align: center; margin: 0; }
        .rs-domain-tabs .nav-link { 
            white-space: normal; font-size: 12px; padding: 10px 5px; 
            border: 1px solid #eaeaea; border-radius: 8px; line-height: 1.2;
            display: flex; align-items: center; justify-content: center; height: 100%;
        }
        .rs-domain-tabs .nav-link.active { background: #bb2e2e; color: #fff !important; border-color: #bb2e2e; }
    }
    /* Estilo del Iframe SPA */
    .rs-spa-iframe { height: 1400px; }
   
/* DISENO TABLAS DE DNS */

@media (max-width: 767px) {
                            .rs-table-mobile thead { display: none; } /* Ocultar cabecera en móviles */
                            .rs-table-mobile tbody tr { 
                                display: block; 
                                margin-bottom: 15px; 
                                border: 1px solid #eaeaea; 
                                border-radius: 8px; 
                                background: #fff;
                                box-shadow: 0 2px 4px rgba(0,0,0,0.02);
                            }
                            .rs-table-mobile tbody td { 
                                display: flex; 
                                flex-direction: column; /* Apilar título arriba y valor abajo */
                                text-align: left; 
                                border-bottom: 1px solid #f8f9fa; 
                                padding: 12px 15px; 
                                align-items: flex-start;
                            }
                            .rs-table-mobile tbody td:last-child { 
                                border-bottom: none; 
                                flex-direction: row; /* Botones en horizontal */
                                justify-content: flex-end;
                                background: #fdfdfd;
                                border-radius: 0 0 8px 8px;
                            }
                            /* Insertar el título de la columna dinámicamente antes del contenido */
                            .rs-table-mobile tbody td::before { 
                                content: attr(data-label); 
                                font-weight: 700; 
                                font-size: 11px;
                                text-transform: uppercase;
                                color: #6c757d; 
                                margin-bottom: 4px;
                                display: block;
                            }
                            /* Ocultar el título de "Acciones" para que los botones se vean limpios */
                            .rs-table-mobile tbody td:last-child::before { display: none; }
                        }