/* Estilo Profissional IPTV - Manus Custom V2 */
:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --sidebar-btn-bg: rgba(255, 255, 255, 0.03);
    --sidebar-btn-hover: rgba(0, 210, 255, 0.15);
}

body[data-bs-theme="dark"] {
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
}

/* Sidebar Styling */
.app-sidebar {
    background-color: #020617 !important;
    border-right: 1px solid #1e293b !important;
}

/* Estilo de Botões na Barra Lateral */
.menu-item {
    margin-bottom: 8px !important;
}

.menu-link {
    background-color: var(--sidebar-btn-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
}

.menu-link:hover {
    background-color: var(--sidebar-btn-hover) !important;
    border-color: var(--primary-color) !important;
    transform: translateX(5px);
}

.menu-link.active {
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.2) 0%, rgba(58, 123, 213, 0.1) 100%) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-title {
    color: var(--text-main) !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
}

.menu-link.active .menu-title, .menu-link:hover .menu-title {
    color: var(--primary-color) !important;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

/* Accordion Style */
.menu-accordion.show > .menu-link {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.menu-sub-accordion {
    background: transparent !important;
    padding-left: 10px !important;
    margin-top: 5px !important;
}

.menu-sub-accordion .menu-link {
    background-color: transparent !important;
    border: none !important;
    padding: 8px 15px !important;
}

/* Header Styling */
.app-header {
    background-color: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b !important;
}

/* Card Styling */
.card {
    background-color: var(--card-bg) !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.card-header {
    border-bottom: 1px solid #334155 !important;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
    filter: brightness(1.1);
}

/* Table Styling */
.table {
    color: var(--text-main) !important;
}

.table thead th {
    color: var(--text-muted) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #334155 !important;
}

/* Login Page Customization */
.app-blank {
    background: radial-gradient(circle at top right, #1e293b, #0f172a, #020617) !important;
}

#kt_sign_in_form {
    background: rgba(30, 41, 59, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Input Styles */
.form-control {
    border-radius: 8px !important;
}

.form-control-solid {
    background-color: #0f172a !important;
    border: 1px solid #334155 !important;
    color: var(--text-main) !important;
}
