/* ==========================================================================
   RaffleLab - Modern Admin Theme Customizations (v3.0 Style port)
   ========================================================================== */

body {
    font-family: 'Inter', 'Poppins', sans-serif !important;
    background-color: #f4f6fd !important;
}

/* Sidebar Styling */
.sidebar {
    background-color: #071251 !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
}

.sidebar__menu {
    padding: 20px 15px !important;
}

.sidebar-menu-list .sidebar-menu-item {
    margin-bottom: 6px !important;
}

.sidebar-menu-list .sidebar-menu-item a {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    transition: all 0.25s ease-in-out !important;
}

.sidebar-menu-list .sidebar-menu-item a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.sidebar-menu-list .sidebar-menu-item.active > a {
    background-color: #3652f1 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(54, 82, 241, 0.25) !important;
}

.sidebar-menu-list .sidebar-menu-item a i {
    font-size: 18px !important;
    margin-right: 12px !important;
    color: inherit !important;
}

.sidebar__logo {
    background-color: #050c37 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.version-text {
    font-family: 'Inter', sans-serif !important;
    color: #00e676 !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}

/* Navigation Bar */
.navbar-wrapper {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    border-bottom: 1px solid #eef2f6 !important;
}

/* Cards & Widgets */
.card {
    border: 1px solid #eef2f6 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015) !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
}

.card-header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eef2f6 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    color: #071251 !important;
}

/* Dashboard Statistics Cards (Widgets) */
.widget-two {
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 20px !important;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

.widget-two:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03) !important;
}

.widget-two__icon {
    border-radius: 50% !important;
    width: 55px !important;
    height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.widget-two__content h3 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #071251;
    margin-top: 5px !important;
}

.widget-two__content p {
    font-family: 'Inter', sans-serif !important;
    color: #6c757d;
    font-weight: 500 !important;
    font-size: 13px !important;
}

/* Buttons */
.btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 5px 12px !important;
    font-size: 13px !important;
}

.btn--primary {
    background-color: #3652f1 !important;
    border-color: #3652f1 !important;
}

.btn--primary:hover, .btn--primary:focus {
    background-color: #243fd6 !important;
    border-color: #243fd6 !important;
    box-shadow: 0 4px 12px rgba(54, 82, 241, 0.2) !important;
}

/* Inputs & Form Fields */
.form-control, .form-select {
    font-family: 'Inter', sans-serif !important;
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.form-control:focus, .form-select:focus {
    border-color: #3652f1 !important;
    box-shadow: 0 0 0 3px rgba(54, 82, 241, 0.15) !important;
}

/* Tables */
.table {
    font-family: 'Inter', sans-serif !important;
}

.table th {
    font-weight: 600 !important;
    color: #071251 !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #eef2f6 !important;
}

.table td {
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* ==========================================================================
   Modernizar widgets de estadísticas superiores (Port a tarjetas blancas con iconos suaves)
   ========================================================================== */
.card[class*="bg--"] {
    background-color: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015) !important;
    position: relative !important;
}

.card[class*="bg--"] .text--white {
    color: #6c757d !important; /* Títulos en gris */
}

.card[class*="bg--"] h2.text--white {
    color: #071251 !important; /* Números en azul oscuro */
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Redondear e iluminar suavemente los iconos */
.card[class*="bg--"] i {
    width: 60px !important;
    height: 60px !important;
    line-height: 60px !important;
    text-align: center !important;
    border-radius: 50% !important;
    display: inline-block !important;
    font-size: 28px !important;
    transition: all 0.3s ease !important;
}

.card[class*="bg--"]:hover i {
    transform: scale(1.08) !important;
}

.card.bg--primary i {
    color: #3652f1 !important;
    background-color: rgba(54, 82, 241, 0.1) !important;
}

.card.bg--success i {
    color: #28c76f !important;
    background-color: rgba(40, 199, 111, 0.1) !important;
}

.card.bg--danger i {
    color: #ea5455 !important;
    background-color: rgba(234, 84, 85, 0.1) !important;
}

.card.bg--red i {
    color: #ea5455 !important;
    background-color: rgba(234, 84, 85, 0.1) !important;
}

.card.bg--warning i {
    color: #ff9f43 !important;
    background-color: rgba(255, 159, 67, 0.1) !important;
}

/* Explicit overrides for widget-two background and text when colored */
.widget-two.bg--success { background-color: #28c76f !important; }
.widget-two.bg--6 { background-color: #ff9234 !important; }
.widget-two.bg--pink { background-color: #ea5455 !important; }
.widget-two.bg--dark { background-color: #071251 !important; }

.widget-two.bg--success *,
.widget-two.bg--6 *,
.widget-two.bg--pink *,
.widget-two.bg--dark * {
    color: #ffffff !important;
}

