/* IRC Koruma Sistemi */
/* NETGUC - Responsive Tasarım */

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #16a085;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --border-color: #bdc3c7;
    --text-color: #34495e;
    --bg-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	text-decoration: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* ========================================
   NO EFFECTS MODE (USER REQUEST)
   - Remove transitions/animations/hover effects globally
   ======================================== */
*,
*::before,
*::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    scroll-behavior: auto !important;
}

* {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 1.8rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-end {
    display: flex;
    gap: 10px;
}

.navbar-item {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-item:hover {
    background: rgba(255,255,255,0.1);
}

.navbar-item.btn-primary {
    background: var(--primary-color);
}

.navbar-item.btn-primary:hover {
    background: #2980b9;
}

.navbar-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.navbar-burger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1.5s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-title i {
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #34495e 100%);
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.step-card i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #27ae60 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Auth Section */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.auth-box {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-header h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #7f8c8d;
}

.auth-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert ul {
    list-style: none;
    margin: 0;
}

.alert ul li {
    margin-bottom: 0.5rem;
}

.alert ul li:last-child {
    margin-bottom: 0;
}

.alert-danger {
    background: #fadbd8;
    color: #c0392b;
    border-left: 4px solid var(--danger-color);
}

.alert-success {
    background: #d5f4e6;
    color: #27ae60;
    border-left: 4px solid var(--secondary-color);
}

.alert-info {
    background: #d6eaf8;
    color: #2980b9;
    border-left: 4px solid var(--primary-color);
}

.alert-warning {
    background: #fcf3cf;
    color: #d68910;
    border-left: 4px solid var(--warning-color);
}

/* Dashboard */
.dashboard {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #7f8c8d;
}

/* Cards */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: var(--primary-color);
}

.card-body {
    padding: 1.5rem;
}

.card-status {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2980b9 100%);
    color: white;
}

.card-status .card-header {
    border-bottom-color: rgba(255,255,255,0.2);
}

.card-status h3 {
    color: white;
}

.card-status i {
    color: white;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
}

.status-label {
    font-weight: 500;
}

.status-value {
    font-weight: bold;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-primary {
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
}

.stat-success {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
}

.stat-warning {
    background: linear-gradient(135deg, var(--warning-color), #d68910);
}

.stat-danger {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-success {
    background: #d5f4e6;
    color: #27ae60;
}

.badge-danger {
    background: #fadbd8;
    color: #c0392b;
}

.badge-warning {
    background: #fcf3cf;
    color: #d68910;
}

.badge-info {
    background: #d6eaf8;
    color: #2980b9;
}

.badge-secondary {
    background: var(--light-color);
    color: #7f8c8d;
}

/* API Info */
.api-info {
    max-width: 600px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group .form-control {
    flex: 1;
}

/* Protection Grid */
.protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.protection-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.protection-item.active {
    border-color: var(--secondary-color);
    background: #d5f4e6;
}

.protection-item.inactive {
    opacity: 0.6;
}

.protection-item i {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: var(--light-color);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--dark-color);
}

.table th i {
    margin-right: 5px;
    color: var(--primary-color);
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.quick-link-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-link-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-color);
        padding: 1rem;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-end {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-item {
        width: 100%;
        justify-content: center;
    }
    
    .navbar-burger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .stats-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row,
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .table {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .features,
    .how-it-works {
        padding: 40px 0;
    }
    
    .auth-box {
        padding: 1.5rem;
    }
    
    .stat-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Admin Panel Stilleri */
.protection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.protection-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.protection-item.active {
    background: #d4edda;
    border-color: #2ecc71;
}

.protection-item.inactive {
    opacity: 0.6;
}

.protection-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.protection-item.active i {
    color: #2ecc71;
}

.protection-item span:not(.badge) {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quick-link-card i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.quick-link-card h4 {
    margin: 10px 0;
    font-size: 1.2rem;
}

.quick-link-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.quick-link-card:nth-child(1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quick-link-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.quick-link-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.quick-link-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Dropdown Menu */
.navbar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    margin-top: 5px;
}

.navbar-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 5px 0;
    border: none;
}

/* Active Menu Item */
.navbar-item.active {
    background: rgba(255,255,255,0.1);
    border-bottom: 2px solid white;
}

/* Chart Styles */
.chart-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress {
    height: 20px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.bg-danger { background: #e74c3c; }
.bg-warning { background: #f39c12; }
.bg-info { background: #3498db; }
.bg-success { background: #2ecc71; }
.bg-primary { background: #3498db; }

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

.info-item strong {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item strong i {
    color: #3498db;
}

/* User List */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 12px;
    transition: all 0.3s ease;
}

.user-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-info strong {
    display: block;
    color: #ffffff;
    margin-bottom: 3px;
}

.user-info small {
    color: #98ecf3;
    font-size: 0.85rem;
}

.user-actions {
    display: flex;
    gap: 5px;
}

/* Notification Container */
#notificationContainer {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid #2ecc71;
}

.notification.error {
    border-left: 4px solid #e74c3c;
}

.notification.warning {
    border-left: 4px solid #f39c12;
}

.notification.info {
    border-left: 4px solid #3498db;
}

.notification i {
    font-size: 1.5rem;
}

.notification.success i { color: #2ecc71; }
.notification.error i { color: #e74c3c; }
.notification.warning i { color: #f39c12; }
.notification.info i { color: #3498db; }

.notification-close {
    margin-left: auto;
    cursor: pointer;
    color: #7f8c8d;
    font-size: 1.2rem;
}

.notification-close:hover {
    color: #2c3e50;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .protection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr;
    }
    
    .protection-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: 1fr !important;
    }
    
    #notificationContainer {
        left: 20px;
        right: 20px;
    }
    
    .notification {
        min-width: auto;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Table Enhancements */
.table tbody tr:hover {
    background: #f8f9fa;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Badge Enhancements */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary { background: #3498db; color: white; }
.badge-success { background: #2ecc71; color: white; }
.badge-danger { background: #e74c3c; color: white; }
.badge-warning { background: #f39c12; color: white; }
.badge-info { background: #3498db; color: white; }
.badge-secondary { background: #95a5a6; color: white; }

/* Button Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Empty State Enhancement */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.1rem;
    margin: 0;
}

/* Tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: #2c3e50;
    color: white;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
}

[data-tooltip]:hover::before {
    opacity: 1;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .user-actions {
        display: none !important;
    }
    
    .card {
        break-inside: avoid;
    }
}

/* ========================================
   MODERN NAVBAR DESIGN
======================================== */

.navbar-modern {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand-modern a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logo-icon i {
    font-size: 1.8rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-menu-modern {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.2rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

.nav-link i {
    font-size: 1.1rem;
}

.btn-nav-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-nav-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Dropdown Modern */
.navbar-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem;
    z-index: 1000;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-item.text-danger {
    color: #e74c3c;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 0;
}

/* Hamburger Menu */
.navbar-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.navbar-burger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.navbar-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-burger.active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   MODERN FOOTER DESIGN
======================================== */

.footer-modern {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0 0;
    margin-top: 5rem;
}

.footer-content-modern {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.footer-logo i {
    font-size: 2rem;
    color: white;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links-modern {
    display: flex;
    gap: 12px;
}

.social-links-modern a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links-modern a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col ul li a i {
    font-size: 0.8rem;
}

.footer-bottom-modern {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.footer-badge i {
    font-size: 1rem;
}

/* ========================================
   NOTIFICATION CONTAINER
======================================== */

#notificationContainer {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition: all 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification i {
    font-size: 1.5rem;
}

.notification span:not(.notification-close) {
    flex: 1;
    color: #2c3e50;
    font-weight: 500;
}

.notification-close {
    cursor: pointer;
    color: #7f8c8d;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.notification-close:hover {
    color: #2c3e50;
    transform: scale(1.2);
}

.notification-success {
    border-left: 4px solid #2ecc71;
}

.notification-error,
.notification-danger {
    border-left: 4px solid #e74c3c;
}

.notification-warning {
    border-left: 4px solid #f39c12;
}

.notification-info {
    border-left: 4px solid #3498db;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 992px) {
    .footer-content-modern {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-menu-modern {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        border-radius: 0 0 15px 15px;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-menu-modern.active {
        display: flex !important;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        margin: 0.25rem 0;
    }
    
    .btn-nav-primary {
        width: 100%;
        justify-content: center;
        margin: 0.5rem 0;
    }
    
    .navbar-burger {
        display: flex !important;
    }
    
    .navbar-dropdown {
        width: 100%;
    }
    
    .navbar-dropdown .nav-link {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.1) !important;
        margin-top: 0.5rem !important;
        display: none !important;
    }
    
    .dropdown-menu.active {
        display: block !important;
    }
    
    .dropdown-item {
        color: white !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
    }
    
    .dropdown-item.text-danger {
        color: #ff6b6b !important;
    }
    
    .footer-content-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .social-links-modern {
        justify-content: center;
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .footer-bottom-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
    
    #notificationContainer {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .notification {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon i {
        font-size: 1.4rem;
    }
}

.navbar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-trigger .fa-angle-down {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.navbar-dropdown:hover .dropdown-trigger .fa-angle-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.user-info strong {
    display: block;
    font-size: 15px;
}

.user-info small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
    padding-left: 25px;
}

.dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.dropdown-item.text-danger {
    color: #e53e3e;
}

.dropdown-item.text-danger:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #c53030;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.nav-link-admin {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    padding: 8px 15px !important;
}

.nav-link-admin:hover {
    background: rgba(102, 126, 234, 0.2);
}

.dropdown-menu-admin {
    min-width: 250px;
}

.dropdown-menu-admin .dropdown-header {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 968px) {
    .navbar-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background: rgba(255,255,255,0.1);
        display: none;
        pointer-events: auto;
    }
    
    .navbar-dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-item {
        padding: 12px 30px;
        color: white;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 35px;
        color: white;
	    }
    
    .dropdown-item.text-danger {
        color: #ff6b6b;
    }
    
    .dropdown-item.text-danger:hover {
        background: rgba(255,107,107,0.1);
    }
    
    .dropdown-header {
        border-radius: 0;
        margin: 0;
    }
}

.navbar-dropdown-mega .dropdown-menu-mega {
    min-width: 300px;
    max-width: 750px;
    padding: 1rem;
}

.dropdown-menu-mega {
    display: flex;
    gap: 0;
}

.dropdown-section {
    flex: 1;
    padding: 0.5rem;
}

.dropdown-section-header {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-divider-vertical {
    width: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.nav-link-admin {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15) 0%, rgba(192, 57, 43, 0.15) 100%);
    border-radius: 8px;
    padding: 8px 15px !important;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.nav-link-admin:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.25) 0%, rgba(192, 57, 43, 0.25) 100%);
    border-color: rgba(231, 76, 60, 0.5);
}

.navbar-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-trigger .fa-angle-down {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.navbar-dropdown:hover .dropdown-trigger .fa-angle-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.navbar-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 15px;
    background: transparent;
    z-index: 999;
}

@media (min-width: 969px) {
    .navbar-dropdown:hover .dropdown-menu,
    .navbar-dropdown .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .navbar-dropdown:hover,
    .navbar-dropdown:focus-within {
        position: relative;
    }
    
    .navbar-dropdown-mega:hover .dropdown-menu-mega,
    .navbar-dropdown-mega .dropdown-menu-mega:hover {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-menu-mega {
    min-width: 300px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
    padding-left: 20px;
}

.dropdown-item i {
    width: 18px;
    font-size: 15px;
    text-align: center;
}

.dropdown-item.text-danger {
    color: #e53e3e;
}

.dropdown-item.text-danger:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #c53030;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0.5rem 0;
}

.dropdown-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-large {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.user-info strong {
    display: block;
    font-size: 15px;
}

.user-info small {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
}

@media (max-width: 968px) {
    .navbar-dropdown {
        width: 100%;
    }
    
    .navbar-dropdown::after {
        display: none;
    }
    
    .dropdown-menu,
    .dropdown-menu-mega {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        background: rgba(255,255,255,0.1);
        display: none;
        pointer-events: auto;
        min-width: 100%;
        max-width: 100%;
    }
    
    .navbar-dropdown.active .dropdown-menu,
    .navbar-dropdown.active .dropdown-menu-mega {
        display: block !important;
    }
    
    .dropdown-menu-mega {
        flex-direction: column;
    }
    
    .dropdown-divider-vertical {
        display: none;
    }
    
    .dropdown-section {
        width: 100%;
    }
    
    .dropdown-section-header {
        margin-top: 0.5rem;
        background: rgba(255,255,255,0.15);
    }
    
    .dropdown-item {
        padding: 12px 30px;
        color: white;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 35px;
        color: white;
    }
    
    .dropdown-item.text-danger {
        color: #ff6b6b;
    }
    
    .dropdown-item.text-danger:hover {
        background: rgba(255,107,107,0.1);
    }
    
    .dropdown-header {
        border-radius: 0;
        margin: 0;
    }
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-dropdown:hover .dropdown-menu {
    animation: dropdownSlideIn 0.2s ease;
}

/* ========================================
   DEMO MODE STYLES
======================================== */

/* Demo Uyarı Banner - Header Üstü */
.demo-warning-header {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe082 100%);
    border-bottom: 3px solid #ffc107;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
    animation: slideDown 0.3s ease-out;
    z-index: 999;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.demo-warning-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.demo-warning-header-icon {
    font-size: 20px;
    color: #ff9800;
    flex-shrink: 0;
    animation: demoPulse 2s infinite;
}

@keyframes demoPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ========================================
   USER PANEL (Dashboard-style components)
   - Keep existing pages working
   - Provide consistent look like admin
======================================== */

.panel-wrap {
    padding: 22px 0;
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 35%, #111827 100%);
}

.panel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.panel-header {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 22px 22px;
    box-shadow: 0 12px 38px rgba(0,0,0,0.12);
    margin-bottom: 18px;
}

.panel-header h1,
.panel-header h2 {
    margin: 0 0 6px 0;
    color: #0f172a;
    font-size: 26px;
    letter-spacing: -0.2px;
}

.panel-header p {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.panel-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.panel-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.panel-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    overflow: hidden;
}

.panel-card-header {
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(102,126,234,0.14), rgba(118,75,162,0.14));
    border-bottom: 1px solid rgba(15,23,42,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.panel-card-header h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-card-body {
    padding: 18px;
}

.panel-alert {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.panel-alert.success { border-left: 4px solid #48bb78; }
.panel-alert.success i { color: #48bb78; margin-top: 1px; }
.panel-alert.error { border-left: 4px solid #f56565; }
.panel-alert.error i { color: #f56565; margin-top: 1px; }

.panel-form .form-group label {
    font-weight: 800;
    color: #0f172a;
}

.panel-form .form-group input,
.panel-form .form-group select,
.panel-form .form-group textarea {
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.14);
    padding: 11px 12px;
}

.panel-form .form-group input:focus,
.panel-form .form-group select:focus,
.panel-form .form-group textarea:focus {
    outline: none;
    border-color: rgba(102,126,234,0.9);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.14);
}

.panel-btn-primary,
.panel-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    text-decoration: none;
}

.panel-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 14px 26px rgba(102,126,234,0.24);
}

.panel-btn-primary:hover { transform: translateY(-1px); }

.panel-btn-secondary {
    color: #0f172a;
    background: rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.10);
}

.panel-btn-secondary:hover { background: rgba(15,23,42,0.12); }

.panel-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.98);
}

.panel-table th {
    background: rgba(15,23,42,0.04);
    color: #334155;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.panel-table td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    vertical-align: top;
}

.panel-table tr:hover td {
    background: rgba(102,126,234,0.06);
}

.panel-empty {
    text-align: center;
    padding: 28px 16px;
    color: #475569;
}

.panel-empty i {
    font-size: 56px;
    opacity: 0.25;
    display: block;
    margin-bottom: 12px;
}

@media (max-width: 980px) {
    .panel-grid-3 { grid-template-columns: 1fr; }
    .panel-grid-2 { grid-template-columns: 1fr; }
    .panel-container { padding: 0 14px; }
}

/* USER PANEL: compatibility layer
   Many user-panel pages still use older generic classes like .card/.grid/.btn-primary.
   Scope these overrides to .panel-wrap so public pages remain unaffected. */
.panel-wrap .card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.12);
    border: 1px solid rgba(15,23,42,0.08);
    margin-bottom: 18px;
}

.panel-wrap .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 900px) {
    .panel-wrap .grid { grid-template-columns: 1fr; }
}

.panel-wrap .form-group { margin-bottom: 12px; }
.panel-wrap .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 900;
    color: #0f172a;
    font-size: 13px;
}
.panel-wrap .form-group input,
.panel-wrap .form-group select,
.panel-wrap .form-group textarea {
    width: 100%;
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.14);
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    font-size: 14px;
    outline: none;
}
.panel-wrap .form-group input:focus,
.panel-wrap .form-group select:focus,
.panel-wrap .form-group textarea:focus {
    border-color: rgba(102,126,234,0.85);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.14);
}

.panel-wrap .btn-primary,
.panel-wrap .btn-secondary,
.panel-wrap .btn-filter,
.panel-wrap .btn-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}
.panel-wrap .btn-primary,
.panel-wrap .btn-filter {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 14px 26px rgba(102,126,234,0.22);
}
.panel-wrap .btn-secondary,
.panel-wrap .btn-clear {
    color: #0f172a;
    border: 1px solid rgba(102,126,234,0.25);
    background: rgba(255,255,255,0.9);
}

.panel-wrap .alert {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.panel-wrap .alert.error { border-left: 4px solid #f56565; }
.panel-wrap .alert.error i { color: #f56565; margin-top: 1px; }
.panel-wrap .alert.success { border-left: 4px solid #48bb78; }
.panel-wrap .alert.success i { color: #48bb78; margin-top: 1px; }

/* Dashboard page (moved from dashboard.php) */
.dashboard-modern .dashboard-welcome {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.dashboard-modern .welcome-text h1 {
    font-size: 24px;
    margin: 0 0 6px 0;
    color: #0f172a;
    font-weight: 900;
}

.dashboard-modern .welcome-text p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-modern .btn-refresh {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 11px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 14px 24px rgba(102,126,234,0.22);
}
.dashboard-modern .btn-refresh:hover { transform: translateY(-1px); }

.dashboard-modern .bot-control-panel {
    background: linear-gradient(135deg, #2d3748 0%, #111827 100%);
    border-radius: 18px;
    padding: 18px;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.26);
    position: relative;
}

.dashboard-modern .bot-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    gap: 12px;
    flex-wrap: wrap;
}
.dashboard-modern .bot-control-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.dashboard-modern .bot-control-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.dashboard-modern .btn-bot-control {
    padding: 12px 14px;
    border: none;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.dashboard-modern .btn-bot-control:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 24px rgba(0,0,0,0.25); }
.dashboard-modern .btn-bot-control:disabled { opacity: 0.6; cursor: not-allowed; }
.dashboard-modern .btn-bot-restart { background: linear-gradient(135deg, #ed8936, #dd6b20); color: #fff; }
.dashboard-modern .btn-bot-reload_settings { background: linear-gradient(135deg, #4299e1, #3182ce); color: #fff; }
.dashboard-modern .btn-bot-status { background: linear-gradient(135deg, #4299e1, #3182ce); color: #fff; }

.dashboard-modern .bot-control-demo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,193,7,0.10), rgba(255,152,0,0.10));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    z-index: 10;
}
.dashboard-modern .bot-control-demo-message {
    background: rgba(255,255,255,0.98);
    padding: 16px 18px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.dashboard-modern .bot-control-demo-message i { color: #ffc107; font-size: 26px; margin-bottom: 8px; }
.dashboard-modern .bot-control-demo-message p { margin: 0; color: #7c2d12; font-weight: 900; font-size: 13px; }

.dashboard-modern .cache-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.dashboard-modern .cache-stat-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    border-left: 4px solid var(--cache-color);
}
.dashboard-modern .cache-stat-card.proxy-cache { --cache-color: #ed8936; }
.dashboard-modern .cache-stat-card.dnsbl-cache { --cache-color: #4299e1; }

.dashboard-modern .cache-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #0f172a;
    font-weight: 900;
    font-size: 14px;
}
.dashboard-modern .cache-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--cache-color);
}
.dashboard-modern .cache-stat-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dashboard-modern .cache-stat-value { font-size: 22px; font-weight: 900; color: var(--cache-color); }
.dashboard-modern .cache-stat-label { font-size: 12px; color: #64748b; margin-top: 4px; font-weight: 800; }

.dashboard-modern .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}
.dashboard-modern .status-badge.online { background: rgba(72,187,120,0.20); color: #48bb78; border: 1px solid rgba(72,187,120,0.55); }
.dashboard-modern .status-badge.offline { background: rgba(245,101,101,0.20); color: #f56565; border: 1px solid rgba(245,101,101,0.55); }
.dashboard-modern .status-badge i { animation: panelPulse 2s infinite; }
@keyframes panelPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.dashboard-modern .protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.dashboard-modern .protection-card {
    background: rgba(15,23,42,0.04);
    border-radius: 16px;
    padding: 14px;
    text-align: center;
    border: 1px solid rgba(15,23,42,0.08);
}
.dashboard-modern .protection-card.active {
    background: rgba(72,187,120,0.10);
    border-color: rgba(72,187,120,0.55);
}
.dashboard-modern .protection-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: rgba(255,255,255,0.92);
}
.dashboard-modern .protection-card.active .protection-icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: #fff;
}
.dashboard-modern .protection-name { font-weight: 900; color: #0f172a; margin-bottom: 6px; }
.dashboard-modern .protection-status { display:inline-block; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.dashboard-modern .protection-status.active { background: #48bb78; color: #fff; }
.dashboard-modern .protection-status.inactive { background: rgba(15,23,42,0.12); color: #0f172a; }

.dashboard-modern .logs-table-container { overflow-x: auto; }
.dashboard-modern .modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.dashboard-modern .modern-table thead th {
    background: rgba(15,23,42,0.04);
    padding: 12px;
    text-align: left;
    font-weight: 900;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.dashboard-modern .modern-table tbody tr {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.15s, box-shadow 0.15s;
}
.dashboard-modern .modern-table tbody tr:hover {
    transform: translateX(2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.dashboard-modern .modern-table tbody td {
    padding: 12px;
    border-top: 1px solid rgba(15,23,42,0.08);
    border-bottom: 1px solid rgba(15,23,42,0.08);
}
.dashboard-modern .modern-table tbody td:first-child { border-left: 1px solid rgba(15,23,42,0.08); border-radius: 14px 0 0 14px; }
.dashboard-modern .modern-table tbody td:last-child { border-right: 1px solid rgba(15,23,42,0.08); border-radius: 0 14px 14px 0; }

.dashboard-modern .quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.dashboard-modern .quick-action-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: transform 0.15s, box-shadow 0.15s;
}
.dashboard-modern .quick-action-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,0.14); }
.dashboard-modern .quick-action-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}
.dashboard-modern .quick-action-card h4 { margin: 0 0 6px 0; color: #0f172a; font-size: 15px; font-weight: 900; }
.dashboard-modern .quick-action-card p { margin: 0; color: #64748b; font-size: 12px; font-weight: 800; }

.dashboard-modern .api-info-card {
    background: linear-gradient(135deg, #2d3748, #111827);
    border-radius: 18px;
    padding: 18px;
    color: #fff;
    box-shadow: 0 16px 34px rgba(0,0,0,0.26);
}
.dashboard-modern .api-input-group { display:flex; gap: 10px; }
.dashboard-modern .api-input-group input {
    flex: 1;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
}
.dashboard-modern .api-input-group button {
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.10);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.dashboard-modern #socketActivityTable tbody td:nth-child(3) {
    font-family: Consolas, 'Courier New', monospace;
    font-size: 12px;
    word-break: break-all;
}

@media (max-width: 980px) {
    .dashboard-modern .stats-grid { grid-template-columns: 1fr; }
    .dashboard-modern .bot-info-grid { grid-template-columns: 1fr; }
    .dashboard-modern .protection-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-modern .quick-actions-grid { grid-template-columns: 1fr; }
    .dashboard-modern .bot-control-buttons { grid-template-columns: 1fr; }
    .dashboard-modern .cache-stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .dashboard-modern .dashboard-welcome { flex-direction: column; text-align: center; }
    .dashboard-modern .protection-grid { grid-template-columns: 1fr; }
}

/* Purchase (bank transfer) small helpers */
.purchase-modern .card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin-bottom: 18px;
}

.purchase-modern .card h2 {
    margin: 0 0 10px 0;
    color: #0f172a;
    font-size: 20px;
}

.purchase-modern .muted { color: #64748b; }

.purchase-modern .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.purchase-modern .alert {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.purchase-modern .alert.error { border-left: 4px solid #f56565; }
.purchase-modern .alert.error i { color: #f56565; margin-top: 1px; }
.purchase-modern .alert.success { border-left: 4px solid #48bb78; }
.purchase-modern .alert.success i { color: #48bb78; margin-top: 1px; }

.purchase-modern .badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 11px;
}
.purchase-modern .badge.pending { background: rgba(237,137,54,0.12); border:1px solid rgba(237,137,54,0.35); color:#7c2d12; }
.purchase-modern .badge.approved { background: rgba(72,187,120,0.12); border:1px solid rgba(72,187,120,0.35); color:#166534; }
.purchase-modern .badge.rejected { background: rgba(245,101,101,0.12); border:1px solid rgba(245,101,101,0.35); color:#7f1d1d; }

.purchase-modern .bank-item {
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 16px;
    padding: 14px;
    margin-top: 10px;
    background: rgba(15,23,42,0.04);
}

.purchase-modern .form-group { margin-bottom: 12px; }
.purchase-modern .form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 900;
    color: #0f172a;
    font-size: 13px;
}
.purchase-modern .form-group input[type="text"],
.purchase-modern .form-group input[type="number"],
.purchase-modern .form-group input[type="file"],
.purchase-modern .form-group textarea,
.purchase-modern .form-group select {
    width: 100%;
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.16);
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    font-size: 14px;
    outline: none;
}
.purchase-modern .form-group input:focus,
.purchase-modern .form-group textarea:focus,
.purchase-modern .form-group select:focus {
    border-color: rgba(102,126,234,0.55);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.14);
}

.purchase-modern .btn-primary,
.purchase-modern .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
}
.purchase-modern .btn-primary { color: #fff; border: none; background: linear-gradient(135deg, #667eea, #764ba2); }
.purchase-modern .btn-secondary { color: #0f172a; border: 1px solid rgba(102,126,234,0.25); background: rgba(255,255,255,0.9); }

@media (max-width: 900px) {
    .purchase-modern .grid { grid-template-columns: 1fr; }
}

/* Plans page */
.plans-modern .plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.plans-modern .plan-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(15,23,42,0.08);
}

.plans-modern .plan-name { font-size: 18px; font-weight: 900; color: #0f172a; margin-bottom: 8px; }
.plans-modern .plan-desc { color: #64748b; font-size: 13px; line-height: 1.55; margin-bottom: 12px; min-height: 40px; }
.plans-modern .plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px 0; }
.plans-modern .plan-price strong { font-size: 32px; color: #0f172a; }
.plans-modern .plan-price span { color: #64748b; font-weight: 800; }
.plans-modern .plan-meta { color: #475569; font-size: 12px; margin-bottom: 14px; font-weight: 700; }

.plans-modern .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 14px 26px rgba(102,126,234,0.22);
}
.plans-modern .btn-primary:hover { transform: translateY(-1px); }

.plans-modern .badge-active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(72,187,120,0.12);
    color: #166534;
    border: 1px solid rgba(72,187,120,0.35);
    font-weight: 900;
    font-size: 12px;
}

.plans-modern .info-box {
    margin-top: 18px;
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    color: #475569;
    line-height: 1.6;
    font-size: 13px;
}

/* Logs page (moved from logs.php) */
.logs-modern .filter-card {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.logs-modern .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.logs-modern .filter-item label {
    display: block;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 12px;
}

.logs-modern .filter-item select,
.logs-modern .filter-item input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 14px;
    font-size: 14px;
    background: rgba(255,255,255,0.98);
}

.logs-modern .filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.logs-modern .btn-filter {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.logs-modern .btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(102,126,234,0.22);
}

.logs-modern .btn-clear {
    background: rgba(15,23,42,0.08);
    color: #0f172a;
    border: 1px solid rgba(15,23,42,0.10);
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logs-modern .logs-grid { display: grid; gap: 12px; }

.logs-modern .log-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
    border: 1px solid rgba(15,23,42,0.08);
}

.logs-modern .log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.logs-modern .log-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    flex-shrink: 0;
}

.logs-modern .log-time { font-size: 12px; color: #64748b; font-weight: 800; }

.logs-modern .log-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.logs-modern .log-field-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.logs-modern .log-field-value { font-size: 14px; color: #0f172a; font-weight: 800; }

.logs-modern .log-field-value.ip { font-family: Consolas, 'Courier New', monospace; font-size: 13px; }

.logs-modern .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: rgba(15,23,42,0.40);
}

.logs-modern .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.logs-modern .btn-pagination {
    background: rgba(255,255,255,0.96);
    color: #0f172a;
    border: 1px solid rgba(15,23,42,0.10);
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 980px) {
    .logs-modern .filter-grid { grid-template-columns: 1fr; }
    .logs-modern .log-body { grid-template-columns: 1fr; }
}

/* Settings page (moved from settings.php) */
.settings-modern .protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.settings-modern .protection-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    border: 2px solid rgba(15,23,42,0.08);
    position: relative;
    overflow: hidden;
}

.settings-modern .protection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0.15;
}

.settings-modern .protection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
}

.settings-modern .protection-card.active,
.settings-modern .protection-card.activex {
    border-color: rgba(72,187,120,0.55);
    background: linear-gradient(135deg, rgba(72,187,120,0.06), rgba(56,161,105,0.04));
}

.settings-modern .protection-card.demo-restricted { opacity: 0.70; }

.settings-modern .card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 12px 22px rgba(102,126,234,0.22);
    margin-bottom: 12px;
}

.settings-modern .protection-card.active .card-icon {
    background: linear-gradient(135deg, #48bb78, #38a169);
    box-shadow: 0 12px 22px rgba(72,187,120,0.22);
}

.settings-modern .card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.settings-modern .card-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.settings-modern .card-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.settings-modern .toggle-switch {
    position: relative;
    display: inline-block;
    width: 58px;
    height: 30px;
    flex-shrink: 0;
}
.settings-modern .toggle-switch input { opacity: 0; width: 0; height: 0; }
.settings-modern .toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e0;
    transition: .25s;
    border-radius: 999px;
}
.settings-modern .toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .25s;
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.settings-modern input:checked + .toggle-slider { background: linear-gradient(135deg, #48bb78, #38a169); }
.settings-modern input:checked + .toggle-slider:before { transform: translateX(28px); }
.settings-modern input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.settings-modern .sub-settings {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(15,23,42,0.14);
    display: none;
}
.settings-modern .protection-card.active .sub-settings { display: block; }

.settings-modern .sub-setting-item label {
    display: block;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 12px;
}
.settings-modern .sub-setting-item input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 14px;
    font-size: 14px;
    background: rgba(255,255,255,0.98);
}
.settings-modern .sub-setting-item small { display:block; color:#64748b; font-size:12px; margin-top:6px; }

.settings-modern .action-settings-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    margin-bottom: 18px;
    position: relative;
    border: 1px solid rgba(15,23,42,0.10);
}
.settings-modern .action-settings-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}
.settings-modern .action-settings-header h3 { margin:0; font-size: 18px; color:#0f172a; font-weight: 900; }

.settings-modern .action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.settings-modern .action-item {
    background: rgba(15,23,42,0.04);
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.08);
}
.settings-modern .action-item label { display:block; font-weight: 900; color:#0f172a; margin-bottom: 8px; font-size: 13px; }
.settings-modern .action-item input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.98);
}
.settings-modern .settings-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.settings-modern .btn-save {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(72,187,120,0.22);
}
.settings-modern .btn-cancel {
    background: rgba(15,23,42,0.08);
    color: #0f172a;
    border: 1px solid rgba(15,23,42,0.10);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 980px) {
    .settings-modern .protection-grid,
    .settings-modern .action-grid { grid-template-columns: 1fr; }
    .settings-modern .settings-actions { flex-direction: column; }
    .settings-modern .btn-save,
    .settings-modern .btn-cancel { width: 100%; }
}

/* Statistics page (moved from statistics.php) */
.statistics-modern .statistics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.statistics-modern .header-right { display: flex; gap: 12px; align-items: center; }

.statistics-modern .filter-tabs {
    display: flex;
    gap: 8px;
    background: rgba(15,23,42,0.06);
    padding: 6px;
    border-radius: 16px;
}

.statistics-modern .filter-tab {
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 900;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.statistics-modern .filter-tab:hover { background: rgba(102,126,234,0.10); color: #0f172a; }
.statistics-modern .filter-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }

.statistics-modern .custom-date-filter {
    display: none;
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.statistics-modern .custom-date-filter.active { display: block; }

.statistics-modern .date-inputs {
    display: flex;
    gap: 12px;
    align-items: end;
}

.statistics-modern .date-input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
    color: #0f172a;
    font-size: 12px;
}

.statistics-modern .date-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 14px;
    font-size: 14px;
    background: rgba(255,255,255,0.98);
}

.statistics-modern .btn-filter {
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.statistics-modern .charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.statistics-modern .chart-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.statistics-modern .chart-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.statistics-modern .chart-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.statistics-modern .chart-header h3 { margin: 0; font-size: 16px; color: #0f172a; font-weight: 900; }

.statistics-modern .progress-list { display: flex; flex-direction: column; gap: 12px; }
.statistics-modern .progress-header { display:flex; justify-content: space-between; align-items:center; gap: 12px; }
.statistics-modern .progress-label { font-weight: 900; color: #0f172a; display:flex; align-items:center; gap: 10px; }
.statistics-modern .progress-label i { width: 30px; height: 30px; border-radius: 12px; display:flex; align-items:center; justify-content:center; font-size: 13px; color:#fff; }
.statistics-modern .progress-value { font-weight: 900; color: #667eea; font-size: 14px; }
.statistics-modern .progress-bar-container { height: 12px; background: rgba(15,23,42,0.06); border-radius: 999px; overflow: hidden; }
.statistics-modern .progress-bar { height: 100%; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 999px; }

.statistics-modern .table-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    overflow-x: auto;
}

.statistics-modern .modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.statistics-modern .modern-table thead th {
    background: rgba(15,23,42,0.04);
    padding: 12px;
    text-align: left;
    font-weight: 900;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 14px;
}

.statistics-modern .modern-table tbody tr {
    background: rgba(15,23,42,0.04);
    transition: transform 0.15s, background 0.15s;
}

.statistics-modern .modern-table tbody tr:hover {
    background: rgba(102,126,234,0.10);
    transform: translateX(2px);
}

.statistics-modern .modern-table tbody td { padding: 12px; }
.statistics-modern .modern-table tbody td:first-child { border-radius: 14px 0 0 14px; }
.statistics-modern .modern-table tbody td:last-child { border-radius: 0 14px 14px 0; }

.statistics-modern .rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}
.statistics-modern .rank-1 { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #000; }
.statistics-modern .rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); color: #000; }
.statistics-modern .rank-3 { background: linear-gradient(135deg, #cd7f32, #e8a87c); color: #fff; }
.statistics-modern .rank-other { background: rgba(15,23,42,0.10); color: #0f172a; }

@media (max-width: 980px) {
    .statistics-modern .statistics-header { flex-direction: column; align-items: flex-start; }
    .statistics-modern .filter-tabs { width: 100%; overflow-x: auto; }
    .statistics-modern .charts-grid { grid-template-columns: 1fr; }
    .statistics-modern .date-inputs { flex-direction: column; }
}

/* ========================================
   USER PANEL: shared modules
   (whitelist/blacklist/badwords/authorized/logs/etc.)
======================================== */

.demo-warning-banner {
    background: linear-gradient(135deg, #fff3cd, #ffe082);
    border-left: 5px solid #ffc107;
    padding: 14px 14px;
    margin-bottom: 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
}

.demo-warning-banner i {
    color: #ff9800;
    font-size: 20px;
    flex-shrink: 0;
}

.demo-warning-banner-content { flex: 1; }
.demo-warning-banner-content strong {
    color: #7c2d12;
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}
.demo-warning-banner-content p {
    margin: 0;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.4;
}
.demo-warning-badge {
    background: #ffc107;
    color: #000;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

.alert-modern {
    background: rgba(255,255,255,0.96);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}
.alert-modern.success { border-left: 4px solid #48bb78; }
.alert-modern.success i { color: #48bb78; margin-top: 1px; }
.alert-modern.error { border-left: 4px solid #f56565; }
.alert-modern.error i { color: #f56565; margin-top: 1px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.stat-card {
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    --stat-color-1: #667eea;
    --stat-color-2: #764ba2;
}

.stat-card.stat-primary { --stat-color-1: #667eea; --stat-color-2: #764ba2; }
.stat-card.stat-success { --stat-color-1: #48bb78; --stat-color-2: #38a169; }
.stat-card.stat-danger { --stat-color-1: #f56565; --stat-color-2: #e53e3e; }
.stat-card.stat-warning { --stat-color-1: #ed8936; --stat-color-2: #dd6b20; }
.stat-card.stat-info { --stat-color-1: #4299e1; --stat-color-2: #3182ce; }
.stat-card.stat-secondary { --stat-color-1: #94a3b8; --stat-color-2: #64748b; }
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--stat-color-1), var(--stat-color-2));
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--stat-color-1), var(--stat-color-2));
    margin-bottom: 12px;
}
.stat-value { font-size: 30px; font-weight: 900; color: #0f172a; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: #64748b; font-weight: 700; }

.add-form-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    margin-bottom: 18px;
    position: relative;
}

.add-form-card.demo-restricted { opacity: 0.70; }

.demo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,193,7,0.10), rgba(255,152,0,0.10));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.demo-overlay-content {
    background: rgba(255,255,255,0.98);
    padding: 16px 18px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.demo-overlay-content i { color: #ffc107; font-size: 26px; margin-bottom: 8px; }
.demo-overlay-content p { margin: 0; color: #7c2d12; font-weight: 900; font-size: 13px; }

.add-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}
.add-form-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, #48bb78, #38a169);
    flex-shrink: 0;
}
.add-form-header h3 { margin: 0; font-size: 18px; color: #0f172a; font-weight: 900; }

.form-grid {
    display: grid;
    grid-template-columns: 150px 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.btn-add {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    height: 46px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-add:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(72,187,120,0.22); }
.btn-add:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.tabs-container {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    overflow: hidden;
}

.info-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(15,23,42,0.08);
    margin-top: 18px;
}
.info-card h4 {
    margin: 0 0 10px 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}
.info-card h4 i { color: #667eea; }
.info-card ul { margin: 0; padding-left: 18px; color: #334155; }
.info-card li { margin: 8px 0; line-height: 1.55; }
.info-card strong { color: #0f172a; font-weight: 900; }

/* Socket / panel activity table (logs.php) */
.socket-feed-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.98);
    font-size: 14px;
}
.socket-feed-table th {
    background: rgba(15,23,42,0.04);
    color: #334155;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
    white-space: nowrap;
}
.socket-feed-table td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    vertical-align: top;
}
.socket-feed-table tr:hover td { background: rgba(102,126,234,0.06); }
.socket-feed-table td:last-child { white-space: nowrap; }
.tabs-header {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: rgba(15,23,42,0.04);
    border-bottom: 1px solid rgba(15,23,42,0.08);
    flex-wrap: wrap;
}
.tab-button {
    padding: 10px 14px;
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, color 0.15s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tab-button:hover { background: rgba(102,126,234,0.10); color: #0f172a; }
.tab-button.active { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-color: transparent; }
.tab-badge {
    background: rgba(15,23,42,0.10);
    color: #0f172a;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}
.tab-button.active .tab-badge { background: rgba(255,255,255,0.22); color: #fff; }
.tab-content { display: none; padding: 16px; }
.tab-content.active { display: block; }

.search-box { margin-bottom: 14px; }
.search-box input {
    width: 100%;
    padding: 11px 12px 11px 42px;
    border: 1px solid rgba(15,23,42,0.14);
    border-radius: 14px;
    font-size: 14px;
    background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%2364748b" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>') no-repeat 14px center;
}
.search-box input:focus {
    outline: none;
    border-color: rgba(102,126,234,0.9);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.14);
}

.entries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
}
.entry-card {
    background: rgba(15,23,42,0.04);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(15,23,42,0.08);
}
.entry-card.expired { opacity: 0.7; }
.entry-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.entry-type {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.entry-status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    background: #48bb78;
    color: #fff;
}
.entry-value { font-size: 18px; font-weight: 900; color: #0f172a; margin-bottom: 8px; word-break: break-all; }
.entry-reason {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(15,23,42,0.08);
    padding: 10px;
    border-radius: 14px;
    font-size: 13px;
    color: #475569;
    margin-bottom: 12px;
}
.entry-actions { display: flex; gap: 10px; }
.btn-delete {
    flex: 1;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.btn-delete:disabled { opacity: 0.55; cursor: not-allowed; }

.words-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.word-card {
    background: rgba(15,23,42,0.04);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(15,23,42,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.word-text { font-size: 16px; font-weight: 900; color: #0f172a; }
.btn-delete-small {
    background: #f56565;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
}

.nicks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.nick-card {
    background: rgba(15,23,42,0.04);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(15,23,42,0.08);
}
.nick-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nick-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
}
.nick-name { font-size: 18px; font-weight: 900; color: #0f172a; margin-bottom: 8px; }
.nick-actions { display: flex; gap: 10px; }

.empty-state {
    text-align: center;
    padding: 34px 16px;
    color: #64748b;
}
.empty-state i { font-size: 56px; opacity: 0.25; margin-bottom: 10px; }
.empty-state p { margin: 0; font-weight: 800; }

@media (max-width: 980px) {
    .form-grid { grid-template-columns: 1fr; }
    .entries-grid { grid-template-columns: 1fr; }
    .nicks-grid { grid-template-columns: 1fr; }
    .words-grid { grid-template-columns: 1fr; }
    .tabs-header {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
}

.demo-warning-header-text {
    font-size: 13px;
    color: #e65100;
    font-weight: 600;
    line-height: 1.3;
}

.demo-warning-header-text strong {
    color: #f57f17;
    display: block;
    margin-bottom: 2px;
}

.demo-warning-header-close {
    background: none;
    border: none;
    color: #ff9800;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    flex-shrink: 0;
    transition: all 0.3s;
    line-height: 1;
}

.demo-warning-header-close:hover {
    color: #f57f17;
    transform: scale(1.2);
}

/* Demo Badge - Navbar'da */
.demo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    animation: demoPulse 2s infinite;
    z-index: 1000;
}

/* Demo User Avatar */
.user-avatar.demo-user {
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
}

.user-avatar-large.demo-user {
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

/* Demo Info Card */
.user-info-demo {
    background: linear-gradient(135deg, #fff3cd, #ffe082);
    border-left: 3px solid #ffc107;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 12px;
    color: #f57f17;
    line-height: 1.4;
}

.user-info-demo i {
    margin-right: 5px;
}

/* Demo Footer Uyarı Banner */
.demo-warning-footer {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe082 100%);
    border-top: 3px solid #ffc107;
    border-bottom: 3px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
    animation: slideUp 0.3s ease-out reverse;
}

.demo-warning-footer-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.demo-warning-footer-icon {
    font-size: 24px;
    color: #ff9800;
    flex-shrink: 0;
}

.demo-warning-footer-text {
    font-size: 14px;
    color: #e65100;
    font-weight: 600;
    line-height: 1.4;
}

.demo-warning-footer-text strong {
    color: #f57f17;
    display: block;
    margin-bottom: 3px;
}

.demo-warning-footer-button {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.demo-warning-footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.demo-warning-footer-button i {
    font-size: 11px;
}

/* Responsive Demo Styles */
@media (max-width: 768px) {
    .demo-warning-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    .demo-warning-header-content {
        width: 100%;
    }

    .demo-warning-header-close {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .demo-warning-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
    }

    .demo-warning-footer-content {
        width: 100%;
    }

    .demo-warning-footer-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .demo-warning-header {
        padding: 8px 12px;
    }

    .demo-warning-header-text {
        font-size: 12px;
    }

    .demo-warning-footer {
        padding: 10px 12px;
    }

    .demo-warning-footer-text {
        font-size: 13px;
    }

    .demo-warning-footer-button {
        padding: 6px 12px;
        font-size: 11px;
    }
}
