/*
Theme Name: LFMTE Sidebar Theme - Salwa Hits Edition
Theme URI: http://thetrafficexchangescript.com/
Description: A modern, navy-themed sidebar theme for Salwa Hits based on the header banner design.
Version: 3.3
Author: Custom Design
*/

@charset "utf-8";

/* ===== MAIN FONT SETTINGS ===== */
body {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a2e;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 40%, #dce3ed 100%);
    min-height: 100vh;
}

/* ===== MAIN PAGE STRUCTURE ===== */
.lfm_outerdiv {
    display: flex;
    width: 100%;
    align-items: stretch;
}
.main {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
}

/* ===== SITE LOGO ===== */
.lfm_menu_logo {
    max-height: 45px;
    margin: 0.5rem 1.2rem 0.3rem 1.2rem;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%);
}

/* ===== TOP BAR ===== */
.lfm_topbar {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 30%, #162a4a 60%, #1a3555 100%);
    color: #ffffff;
    margin-bottom: 25px;
    padding: 12px 0;
    border-bottom: 3px solid #4ecdc4;
    box-shadow: 0 4px 40px rgba(10, 22, 40, 0.4);
}

.lfm_topbar .navbar-nav li a {
    color: #ffffff;
    font-weight: 700;
    padding: 8px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%);
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(78, 205, 196, 0.3);
}

.lfm_topbar .navbar-nav li a:hover {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #0a1628;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(253, 160, 133, 0.4);
}

.lfm_slidebar_toggleswitch {
    cursor: pointer;
    font-size: 26px;
    color: #4ecdc4;
    padding-right: 12px;
    transition: all 0.3s ease;
}
.lfm_slidebar_toggleswitch:hover {
    color: #f6d365;
    transform: scale(1.1) rotate(90deg);
}

/* ===== SLIDEBAR ===== */
.lfm_slidebar {
    min-width: 240px;
    max-width: 240px;
    min-height: 100vh;
    transition: all 0.4s ease-in-out;
    background: linear-gradient(180deg, #0a1628 0%, #0f1f3d 25%, #162a4a 50%, #1a3555 75%, #1f4068 100%);
    border-right: 2px solid rgba(78, 205, 196, 0.2);
    box-shadow: 4px 0 40px rgba(10, 22, 40, 0.6);
}

/* ===== DESKTOP VIEW ===== */
@media (min-width: 890px) {
    body {
        margin: 0;
        background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 40%, #dce3ed 100%);
        background-image: url(images/header_bg.jpg);
        background-repeat: repeat-x;
        background-size: cover;
        background-attachment: fixed;
    }
    
    #headerwrapper {
        width: 1150px;
        height: 285px;
        margin-right: auto;
        margin-left: auto;
        clear: both;
        border-radius: 0 0 40px 40px;
        overflow: hidden;
        box-shadow: 0 4px 50px rgba(10, 22, 40, 0.25);
        position: relative;
    }
    
    #header {
        background-image: url(images/header.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        width: 1150px;
        height: 285px;
    }
    
    .lfm_slidebar {
        margin-left: 0px;
    }
    .lfm_slidebar.toggled {
        margin-left: -240px;
    }
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 889px) {
    .lfm_slidebar {
        margin-left: -240px;
    }
    .lfm_slidebar.toggled {
        margin-left: 0px;
    }
}

.lfm_slidebar_toggleswitch {
    cursor: pointer;
    font-size: 24px;
    color: #4ecdc4;
    padding-right: 10px;
}
.lfm_slidebar_toggleswitch:hover {
    color: #f6d365;
}

.lfm_slidebar_mainmenu {
    list-style: none;
    padding-left: 0;
    overflow: auto;
    margin-top: 10px;
}

/* ===== SLIDEBAR MENU ITEMS ===== */
.lfm_slidebar_mainmenu li > a {
    color: #c8d6e5;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    display: block;
    margin: 2px 10px;
    padding: 0.7rem 1.2rem 0.7rem 1.2rem;
    font-size: 16px;
    position: relative;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border-radius: 12px;
}

.lfm_slidebar_mainmenu li > a:hover {
    color: #ffffff;
    background: rgba(78, 205, 196, 0.15);
    padding-left: 1.8rem;
    border-left: 4px solid #4ecdc4;
    box-shadow: inset 0 0 30px rgba(78, 205, 196, 0.05);
}

.lfm_slidebar_mainmenu li > a.active {
    color: #ffffff;
    background: rgba(78, 205, 196, 0.12);
    border-left: 4px solid #f6d365;
}

/* ===== FOOTER ===== */
.lfm_footer {
    background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 25%, #162a4a 50%, #1a3555 75%, #1f4068 100%);
    color: #c8d6e5;
    border-top: 3px solid rgba(78, 205, 196, 0.25);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.lfm_footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(78, 205, 196, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.lfm_footer a {
    color: #4ecdc4;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.lfm_footer a:hover {
    color: #f6d365;
    text-decoration: none;
    padding-left: 8px;
    text-shadow: 0 0 20px rgba(246, 211, 101, 0.2);
}

.lfm_footer h4, .lfm_footer h5 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
}

.lfm_footer h4 {
    color: #4ecdc4;
    font-size: 1.5rem;
    text-shadow: 0 2px 20px rgba(78, 205, 196, 0.15);
}

.lfm_footer .btn {
    background: linear-gradient(135deg, #162a4a 0%, #1f4068 100%) !important;
    border: 2px solid #4ecdc4 !important;
    color: #4ecdc4 !important;
    transition: all 0.3s ease;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lfm_footer .btn:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%) !important;
    border-color: #4ecdc4 !important;
    color: #0a1628 !important;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(78, 205, 196, 0.3);
}

/* ===== ICONS ===== */
.far, .fas {
    margin-right: 5px;
}

.feedicon {
    color: #4ecdc4;
    font-size: 20px;
    margin-right: 5px;
}

/* ===== PROFILE PICTURES ===== */
.profilepic_small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4ecdc4;
}

.profilepic_med {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid #4ecdc4;
}

.profilepic_large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #4ecdc4;
}

/* ===== BUTTONS ===== */
.buttonlink {
    cursor: pointer;
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 50%, #3a9b92 100%);
    border-radius: 50px;
    border: none;
    display: inline-block;
    color: #ffffff;
    font-family: arial;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 30px;
    margin: 2px 1px 2px 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(78, 205, 196, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buttonlink:hover {
    color: #0a1628;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    text-decoration: none;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 40px rgba(253, 160, 133, 0.4);
}

.buttonlink-secondary {
    cursor: pointer;
    background: transparent;
    border: 2px solid #4ecdc4;
    border-radius: 50px;
    display: inline-block;
    color: #4ecdc4;
    font-family: arial;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 25px;
    margin: 2px 1px 2px 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buttonlink-secondary:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%);
    color: #0a1628;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(78, 205, 196, 0.3);
}

/* ===== INFO BAR ===== */
.infobar {
    width: 100%;
    padding: 20px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 25%, #162a4a 50%, #1a3555 75%, #1f4068 100%);
    border-top: 2px solid rgba(78, 205, 196, 0.25);
    border-bottom: 2px solid rgba(78, 205, 196, 0.25);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
}

.infobar h2 {
    color: #4ecdc4;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.infobar .highlight {
    color: #f6d365;
}

/* ===== CARDS ===== */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(10, 22, 40, 0.08);
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 50px rgba(10, 22, 40, 0.12);
}

.card-header {
    background: rgba(78, 205, 196, 0.08);
    border-bottom: 1px solid rgba(78, 205, 196, 0.15);
    color: #0a1628;
    font-weight: 700;
}

/* ===== TEXT STYLES ===== */
.lfm_title {
    font-family: "Arial";
    color: #0a1628;
    font-size: 32px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(10, 22, 40, 0.08);
}

.lfm_descr {
    font-family: "Arial";
    color: #1a1a2e;
    font-size: 16px;
    line-height: 1.8;
}

.lfm_descr_bold {
    font-family: "Arial";
    color: #0a1628;
    font-size: 16px;
    font-weight: 700;
}

/* ===== FORM ELEMENTS ===== */
input, select, textarea {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(78, 205, 196, 0.3) !important;
    color: #1a1a2e !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #4ecdc4 !important;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.15) !important;
    outline: none;
}

/* ===== SIDEBAR PHOTO CARD ===== */
.sidebar-photo-card {
    background: rgba(15, 31, 61, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 24px;
    padding: 18px 12px 15px;
    text-align: center;
    margin: 10px auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    width: 150px;
}

.sidebar-photo-card .photo-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 3px solid #4ecdc4;
    box-shadow: 0 0 50px rgba(78, 205, 196, 0.15);
    transition: all 0.3s ease;
}

.sidebar-photo-card .photo-container:hover {
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(78, 205, 196, 0.25);
}

.sidebar-photo-card .photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-photo-card .name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.sidebar-photo-card .title {
    color: #0a1628;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    padding: 4px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 20px rgba(253, 160, 133, 0.2);
}

/* ===== SIDEBAR PARTNER LINKS ===== */
.sidebar-partner-link {
    text-align: center;
    margin: 8px 0;
}

.sidebar-partner-link img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    border: 2px solid rgba(78, 205, 196, 0.15);
    transition: all 0.4s ease;
    background: rgba(15, 31, 61, 0.5);
    padding: 5px;
}

.sidebar-partner-link img:hover {
    transform: scale(1.08) rotate(-2deg);
    border-color: #4ecdc4;
    box-shadow: 0 8px 35px rgba(78, 205, 196, 0.2);
}

/* ===== TABLES ===== */
.table {
    color: #1a1a2e;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.08), rgba(78, 205, 196, 0.08));
    color: #0a1628;
    border-bottom: 2px solid #4ecdc4;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    border-bottom: 1px solid rgba(78, 205, 196, 0.05);
    transition: background 0.3s ease;
}

.table tbody tr:hover {
    background: rgba(78, 205, 196, 0.06);
}

/* ===== ALERTS ===== */
.alert {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 205, 196, 0.2);
    color: #1a1a2e;
    border-radius: 16px;
}

.alert-success {
    border-color: #4ecdc4;
    color: #0a1628;
}

.alert-danger {
    border-color: #e74c3c;
    color: #e74c3c;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%);
    color: #ffffff;
    border-color: #4ecdc4;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%);
    border-color: #4ecdc4;
    color: #ffffff;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a1628 0%, #1f4068 100%);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ecdc4 0%, #44b3a8 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f6d365 0%, #fda085 100%);
}

/* ===== UTILITY CLASSES ===== */
.text-teal {
    color: #4ecdc4;
}

.text-teal-light {
    color: #7eddd6;
}

.text-navy {
    color: #0a1628;
}

.text-gold {
    color: #f6d365;
}

.bg-navy {
    background: linear-gradient(135deg, #0a1628 0%, #1f4068 100%);
}

.bg-teal-gradient {
    background: linear-gradient(135deg, #4ecdc4 0%, #44b3a8 100%);
}

.border-teal {
    border-color: #4ecdc4 !important;
}

/* ===== GLOW EFFECTS ===== */
.glow-teal {
    box-shadow: 0 0 40px rgba(78, 205, 196, 0.15);
}

.glow-teal-hover:hover {
    box-shadow: 0 0 60px rgba(78, 205, 196, 0.25);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-teal {
    0% { box-shadow: 0 0 20px rgba(78, 205, 196, 0.15); }
    50% { box-shadow: 0 0 40px rgba(78, 205, 196, 0.3); }
    100% { box-shadow: 0 0 20px rgba(78, 205, 196, 0.15); }
}

.pulse-teal {
    animation: pulse-teal 2s ease-in-out infinite;
}