/*
* LFB Admin - Galaxy Theme
*/

body, #wpwrap, #wpcontent, #wpfooter {
    background: linear-gradient(180deg, #0a192f 0%, #001e3c 100%) !important;
    color: #c8d6f0 !important;
}

#adminmenuwrap, #adminmenuback {
    background: #0a192f !important;
}

#adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, .folded #adminmenu .wp-has-current-submenu .wp-submenu {
    background: #001e3c !important;
}

#adminmenu a {
    color: #c8d6f0 !important;
    transition: all 0.3s ease;
}

#adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub>a.menu-top, #adminmenu li>a.menu-top:focus {
    color: #64ffda !important;
    background-color: rgba(100, 255, 218, 0.1) !important;
}

#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu .wp-has-current-submenu .wp-submenu a:focus, #adminmenu .wp-has-current-submenu .wp-submenu a:hover {
     color: #64ffda !important;
}

.wrap h1, .wrap h2, .wrap h3, .wrap h4 {
     color: #ffffff !important;
}

.lfb_container .page-title, .lfb_container h3, .lfb_container h4 {
    border-bottom: 1px solid rgba(100, 255, 218, 0.3) !important;
}

.lfb_container .btn-primary, .lfb_container .btn-success {
    background-color: #0c4a6e;
    border: 1px solid #075985;
    color: #e0f2fe !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(100, 255, 218, 0);
}

.lfb_container .btn-primary:hover, .lfb_container .btn-success:hover {
    background-color: #075985;
    border: 1px solid #64ffda;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.lfb_container .form-control, .lfb_container select {
    background-color: rgba(10, 25, 47, 0.8) !important;
    border: 1px solid #0c4a6e !important;
    color: #c8d6f0 !important;
}

.lfb_container .form-control:focus, .lfb_container select:focus {
    border-color: #64ffda !important;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.3) !important;
}

/* Header and Toolbar */
.lfb_mainHeader {
    background: #0a192f;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lfb_pluginTitle {
    color: #e0f2fe;
    font-size: 1.5em;
    font-weight: bold;
}

.lfb_tableBtn {
    color: #c8d6f0 !important;
    background: transparent !important;
    border-radius: 4px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.lfb_tableBtn:hover {
    color: #64ffda !important;
    background: rgba(100, 255, 218, 0.1) !important;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}


/* Modals (lfb_modal) */
.lfb_modal .modal-content {
    background: linear-gradient(160deg, #001e3c, #0a192f);
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.1);
}

.lfb_modal .modal-header {
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    color: #ffffff;
}

.lfb_modal .modal-title {
     color: #ffffff !important;
}

.lfb_modal .modal-body {
    background-color: rgba(10, 25, 47, 0.5);
}

/* Tabs */
.lfb_bootstraped .nav-tabs {
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
}

.lfb_bootstraped .nav-tabs .nav-link {
    border: 1px solid transparent !important;
    border-bottom: 0 !important;
    color: #c8d6f0;
    transition: all 0.3s ease;
}

.lfb_bootstraped .nav-tabs .nav-link:hover {
    background-color: rgba(100, 255, 218, 0.05);
    border-color: transparent !important;
    color: #64ffda;
}

.lfb_bootstraped .nav-tabs .nav-link.active,
.lfb_bootstraped .nav-tabs .nav-item.show .nav-link {
    color: #ffffff !important;
    background-color: rgba(100, 255, 218, 0.1) !important;
    border-color: rgba(100, 255, 218, 0.3) !important;
    border-bottom: 1px solid #64ffda !important;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.lfb_bootstraped .tab-content {
    padding: 20px;
    background-color: rgba(10, 25, 47, 0.3);
}

/* Bootstrap Switch */
.has-switch {
    border-radius: 16px;
    border: 1px solid #0c4a6e;
    background: #0a192f;
}

.has-switch span.switch-primary, .has-switch span.switch-left {
    background: #075985;
    border-radius: 15px 0 0 15px;
}
.has-switch span.switch-primary:hover, .has-switch span.switch-left:hover{
    background: #0c4a6e;
}

.has-switch label {
    border: none;
    background: #c8d6f0;
    color: #0a192f;
    font-weight: bold;
    z-index: 2;
}

.has-switch span.switch-right {
    border-radius: 0 15px 15px 0;
}

.bootstrap-switch-handle-on.bootstrap-switch-primary {
    background: #075985 !important;
    color: #e0f2fe !important;
}
.bootstrap-switch-handle-off.bootstrap-switch-default {
    background: #374151 !important;
    color: #9ca3af !important;
}

.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-label {
    transition: all 0.2s ease-in-out;
}

/* License Settings Page */
#lfb_settings_licenseContainer {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(10, 25, 47, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    text-align: center;
}

#lfb_settings_licenseOk, #lfb_settings_licenseNo {
    font-size: 1.5em;
    margin-bottom: 20px;
}

#lfb_settings_licenseOk .fa-check {
    color: #64ffda;
    font-size: 2em;
    text-shadow: 0 0 15px #64ffda;
}

#lfb_settings_licenseNo .fa-stamp {
    color: #f87171;
    font-size: 2em;
    text-shadow: 0 0 15px #f87171;
}

#lfb_alertX.alert-info {
    background-color: rgba(12, 74, 110, 0.5) !important;
    border: 1px solid #075985 !important;
    color: #e0f2fe !important;
    text-align: left !important;
}

#lfb_alertX.alert-info a {
    color: #64ffda !important;
    font-weight: bold;
}

/* DataTables Styling */
.dataTables_wrapper {
    background-color: transparent;
    color: #c8d6f0;
    border-radius: 4px;
    padding: 20px;
}

#lfb_logsTable, #lfb_customersTable, #lfb_customerOrdersTable {
    width: 100% !important;
    border-collapse: collapse;
    border-spacing: 0;
}

#lfb_logsTable thead th, #lfb_customersTable thead th, #lfb_customerOrdersTable thead th {
    color: #ffffff;
    background-color: rgba(10, 25, 47, 0.7);
    border-bottom: 2px solid #64ffda;
    text-align: left;
}

#lfb_logsTable tbody tr, #lfb_customersTable tbody tr, #lfb_customerOrdersTable tbody tr {
    background-color: rgba(10, 25, 47, 0.5);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    transition: background-color 0.3s;
}

#lfb_logsTable tbody tr:hover, #lfb_customersTable tbody tr:hover, #lfb_customerOrdersTable tbody tr:hover {
    background-color: rgba(100, 255, 218, 0.05);
}

#lfb_logsTable td, #lfb_logsTable th,
#lfb_customersTable td, #lfb_customersTable th,
#lfb_customerOrdersTable td, #lfb_customerOrdersTable th {
    padding: 12px 15px;
}

#lfb_logsTable a, #lfb_customersTable a, #lfb_customerOrdersTable a {
    color: #64ffda;
}
#lfb_logsTable a:hover, #lfb_customersTable a:hover, #lfb_customerOrdersTable a:hover {
    color: #e0f2fe;
}


/* DataTable Controls */
.dataTables_length, .dataTables_filter {
    margin-bottom: 15px;
}
.dataTables_length label, .dataTables_filter label {
    color: #c8d6f0;
}
.dataTables_length select, .dataTables_filter input {
    background-color: #0a192f;
    color: #e0f2fe;
    border: 1px solid #0c4a6e;
    border-radius: 4px;
    padding: 5px;
    margin-left: 5px;
}

.dataTables_paginate .paginate_button {
    color: #c8d6f0 !important;
    background: rgba(10, 25, 47, 0.8) !important;
    border: 1px solid #0c4a6e !important;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dataTables_paginate .paginate_button:hover {
    color: #ffffff !important;
    background: rgba(100, 255, 218, 0.1) !important;
    border-color: #64ffda !important;
}

.dataTables_paginate .paginate_button.current, 
.dataTables_paginate .paginate_button.current:hover {
    color: #0a192f !important;
    background: #64ffda !important;
    border-color: #64ffda !important;
}

.dataTables_paginate .paginate_button.disabled, 
.dataTables_paginate .paginate_button.disabled:hover {
    color: #6b7280 !important;
    background: transparent !important;
    border-color: #374151 !important;
}

.dataTables_info {
    color: #9ca3af;
    padding-top: 10px;
}

#lfb_panelLogs, #lfb_customersPanel {
    background-color: rgba(10, 25, 47, 0.3);
    padding:20px;
    border-radius: 8px;
}



