 /* =========================================
   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);
}





/* PAYDAR PRINT - HISTORY PAGE TEST */

.paydar-history-test {
  direction: rtl;
  font-family: inherit;
  color: #24202a;
  overflow: hidden;
}

.paydar-history-test .p92-hero {
  position: relative;
  overflow: hidden;
  padding: 65px 25px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background: linear-gradient(115deg,#1d1922,#e90050 75%,#ff4779);
  animation: p92Enter .9s ease both;
}

.paydar-history-test .p92-hero h1 {
  color: white;
  font-size: clamp(25px,4vw,42px);
  margin: 18px 0;
}

.paydar-history-test .p92-hero p {
  color: white;
  line-height: 2.2;
}

.paydar-history-test .p92-year {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 30px;
  font-size: 14px;
}

.paydar-history-test .p92-line {
  width: 65px;
  height: 4px;
  background: #ffcc28;
  margin: 22px auto;
  border-radius: 10px;
}

.paydar-history-test .p92-proof {
  background: #fff4f7;
  border: 1px solid #f8dce5;
  border-radius: 18px;
  padding: 25px;
  margin: 15px 0;
  transition: transform .35s ease, box-shadow .35s ease;
}

.paydar-history-test .p92-proof:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(30,20,30,.13);
}

.paydar-history-test .p92-proof h3 {
  color: #e90050;
}

.paydar-history-test .p92-document {
  border: 2px dashed #e90050;
  border-radius: 14px;
  padding: 35px 15px;
  text-align: center;
  background: white;
  transition: background .3s ease;
}

.paydar-history-test .p92-document:hover {
  background: #fff0f5;
}

.paydar-history-test .p92-button {
  display: inline-block;
  background: #ffcc28;
  color: #24202a;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all .3s ease;
}

.paydar-history-test .p92-button:hover {
  background: white;
  color: #e90050;
  transform: scale(1.06);
}

.paydar-history-test .p92-section {
  padding: 35px 10px;
  text-align: center;
  animation: p92Enter .8s ease both;
}

@keyframes p92Enter {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(max-width:600px) {
  .paydar-history-test .p92-hero {
    padding: 40px 18px;
  }
  .paydar-history-test .p92-proof {
    padding: 18px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .paydar-history-test *,
  .paydar-history-test {
    animation: none !important;
    transition: none !important;
  }
}

