 /* =========================================
   BLACK & ORANGE THEME OVERRIDE
   Matches "Paydar Print" Logo
   ========================================= */

:root {
    --brand-orange: #ff6600;       /* Main Logo Orange */
    --brand-orange-dark: #e65c00;  /* Hover State */
    --brand-black: #1a1a1a;        /* Main Dark/Black */
    --brand-gray: #f4f4f4;         /* Light Background */
    --text-white: #ffffff;
}

/* 1. TOP HEADER & NAVIGATION BAR
   Targets the big green area at the top */
nav, 
.navbar, 
.header, 
div[style*="background-color: #4caf50"], /* Common material green */
div[style*="background: green"],
div[style*="background-color: green"] {
    background-color: var(--brand-black) !important;
    background-image: none !important;
    color: var(--text-white) !important;
    border-bottom: 3px solid var(--brand-orange) !important;
}

/* Change text and icons in the header to white/orange */
nav a, 
nav i, 
nav span,
.header a, 
.header i {
    color: var(--text-white) !important;
}

nav a:hover,
.header a:hover {
    color: var(--brand-orange) !important;
}

/* 2. SIDEBAR MENU (Right Side)
   Changes the white background with green icons to a cleaner look */
.sidebar, 
aside, 
.right-sidebar {
    background-color: var(--brand-gray) !important;
}

/* Sidebar Icons - Change from Green to Orange */
.sidebar i, 
aside i, 
.sidebar .icon,
aside .icon,
.menu-item i {
    color: var(--brand-orange) !important;
}

/* Sidebar Text on Hover */
.sidebar a:hover,
aside a:hover {
    background-color: var(--brand-orange) !important;
    color: var(--text-white) !important;
}

/* 3. DASHBOARD WIDGETS & CARDS
   The white boxes containing numbers */
.card, 
.widget, 
.panel, 
.box {
    border-top: 3px solid var(--brand-orange) !important; /* Add orange accent line */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

/* The Big Numbers (Currently Blue) */
.card h1, 
.card h2, 
.card h3, 
.widget-number, 
.stat-number {
    color: var(--brand-black) !important;
    font-weight: bold;
}

/* 4. BUTTONS
   General button styling */
button, 
.btn, 
input[type="submit"] {
    background-color: var(--brand-orange) !important;
    color: var(--text-white) !important;
    border: none !important;
    transition: background-color 0.3s ease;
}

button:hover, 
.btn:hover {
    background-color: var(--brand-black) !important;
}

/* 5. NOTIFICATION BARS
   The pink bar: "Your message credit has ended..." */
.alert, 
.alert-warning, 
div[style*="background-color: #fce4e4"], 
div[style*="background-color: pink"] {
    background-color: #fff3e0 !important; /* Light Orange Background */
    border: 1px solid var(--brand-orange) !important;
    color: var(--brand-black) !important;
}

/* 6. LINKS & ACTIVE STATES */
a {
    color: var(--brand-orange);
}

a:hover {
    color: var(--brand-black);
}

/* 7. SPECIFIC "PAYDAR" LOGO TEXT (If text based) */
.logo-text, 
.brand-name {
    color: var(--brand-black) !important; /* "پایدار" */
}

.logo-subtext {
    color: var(--brand-orange) !important; /* "چاپ" */
}

/* 8. TABS & BREADCRUMBS */
.active-tab, 
.nav-tabs .active {
    border-bottom: 2px solid var(--brand-orange) !important;
    color: var(--brand-orange) !important;
}

/* 9. SEARCH BAR INPUT */
input[type="text"], 
input[type="search"] {
    border: 1px solid #ccc;
    background-color: #fff;
}

input[type="text"]:focus, 
input[type="search"]:focus {
    border-color: var(--brand-orange) !important;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}