/* ==================================================================
   MASHURRI BRAND OVERRIDES  (public + auth pages only)
   Loaded after style.css + custom.css in layouts/master.blade.php for
   non-dashboard routes. The frontend theme is 100% token-driven
   (var(--color-primary)), so re-pointing these tokens re-skins every
   button, card, form and link to the brand red #E6051F.
================================================================== */

:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --color-primary:        #E6051F;   /* brand red (logo) */
    --color-primary-text:   #ffffff;
    --brand-red:            #E6051F;
    --brand-red-2:          #ff3b47;   /* lighter red for gradients */
    --brand-red-deep:       #b0040f;   /* pressed / deep */
    --brand-gold:           #ffc047;   /* secondary accent */
}
:root,
[data-bs-theme="light"] { --color-primary-light: rgba(230, 5, 31, 0.08); }
[data-bs-theme="dark"]   { --color-primary-light: rgba(230, 5, 31, 0.20); }

/* ---------- Primary buttons: give them the branded gradient + lift ---------- */
.i-btn.btn--primary,
.i-btn.btn--auth {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-2) 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 26px -10px rgba(230, 5, 31, 0.55);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.i-btn.btn--primary:hover,
.i-btn.btn--auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(230, 5, 31, 0.7);
    filter: brightness(1.03);
    color: #fff !important;
}
.i-btn.btn--primary-outline {
    border-color: var(--brand-red) !important;
    color: var(--brand-red) !important;
}
.i-btn.btn--primary-outline:hover {
    background: var(--brand-red) !important;
    color: #fff !important;
}

/* ---------- Pricing cards ---------- */
.pricing-item { transition: transform .3s ease, box-shadow .3s ease; }
.pricing-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -30px rgba(230, 5, 31, 0.35);
}
.pricing-item.style-dark {
    background: linear-gradient(160deg, #17070a 0%, #2a0509 55%, #55040e 130%) !important;
}
.pricing-item .icon i,
.pricing-item .price h3 span,
.section-title-one .subtitle,
.subtitle { color: var(--brand-red); }

/* ---------- Blog cards ---------- */
.blog-style-one, .blog-style-two { transition: transform .3s ease, box-shadow .3s ease; }
.blog-style-one:hover, .blog-style-two:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 54px -28px rgba(230, 5, 31, 0.3);
}
.blog-style-two .date { background: var(--brand-red) !important; color: #fff !important; }

/* ---------- Section title accent underline ---------- */
.section-title-one .subtitle::before,
.section-title-one .subtitle::after { background: var(--brand-red) !important; }

/* ---------- Contact form ---------- */
.contact-list li span,
.contact-form h4 span { color: var(--brand-red); }
.form__field:focus { border-color: var(--brand-red) !important; }
.form__field:focus ~ .form__label { color: var(--brand-red) !important; }
.contact-list li span {
    background: rgba(230, 5, 31, 0.10);
}

/* ---------- Links / misc accents ---------- */
a.forget-pass:hover,
.have-account a,
.breadcrumb-item a { color: var(--brand-red); }
.have-account a:hover { color: var(--brand-red-deep); }

/* ---------- Auth page polish ---------- */
.auth .auth-input input:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 4px rgba(230, 5, 31, 0.10) !important;
}
.auth-checkbox input:checked { accent-color: var(--brand-red); }
.sign-option a:hover { border-color: var(--brand-red) !important; color: var(--brand-red) !important; }

/* ---------- Newsletter / subscribe buttons in old areas ---------- */
.news-letter-area button { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-2)) !important; }

/* ---------- Pagination active ---------- */
.pagination .page-item.active .page-link,
.pagination .active > .page-link {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #fff !important;
}
.pagination .page-link { color: var(--brand-red); }
.pagination .page-link:hover { color: var(--brand-red-deep); }
