.brand-logo {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.brand-text {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #1f2a37;
    margin-top: 22px;
    /* dark navy-like color */
    line-height: 1.1;
    /* tighter spacing between lines */
    margin-left: 5px;
    /* small gap between logo and text */
    letter-spacing: 0.5px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .brand-text {
        font-size: 14px;
    }
}

/* General button color updates */
.btn-dark,
.btn-primary {
    background-color: #b22222 !important;
    /* dark red */
    border-color: #b22222 !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

/* Hover effects */
.btn-dark:hover,
.btn-primary:hover {
    background-color: #d32f2f !important;
    /* lighter red shade */
    border-color: #d32f2f !important;
    color: #fff !important;
}

/* Outline button hover (if any btn-outline exist) */
.btn-outline-primary:hover,
.btn-outline-dark:hover {
    background-color: #b22222 !important;
    border-color: #b22222 !important;
    color: #fff !important;
}

/* Add a subtle red glow/outline on hover */
.btn-dark:hover,
.btn-primary:hover {
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.4);
}

/* 🔴 Optional: make icons inside buttons white */
.btn i {
    color: #fff !important;
}



/* 🔴 Base card style */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* 🔴 Hover effect */
.card:hover {

    border: 1px solid #b22222;
    /* remove transform line */
}


/* 🔴 Optional: image zoom on hover */
/* .card img {
      transition: transform 0.4s ease;
   }

   .card:hover img {
      transform: scale(1.05);
   } */

/* 🔴 Optional: make card title or button react too */
.card:hover .card-title {
    color: #b22222;
    /* red title on hover */
    transition: color 0.3s ease;
}

.card:hover .btn {
    background-color: #b22222 !important;
    border-color: #b22222 !important;
}


/* 🔹 Custom shaded red outline button */
.btn-outline-red {
    border: 1.8px solid #b22222;
    /* dark red */
    color: #b22222;
    /* red text by default */
    background-color: transparent;
    transition: all 0.3s ease;
}

/* 🔹 Hover effect */
.btn-outline-red:hover {
    background-color: #b22222;
    /* fill with red */
    color: #fff !important;
    /* make text white */
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.4);
    /* soft red glow */
}

/* 🔹 Pressed (active) effect */
.btn-outline-red:active {
    transform: scale(0.97);
    box-shadow: 0 0 6px rgba(178, 34, 34, 0.6) inset;
}


/* 🔴 Base nav link style */
.nav-link {
    color: #333;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 8px 14px;
}

/* 🔴 Hover effect — shaded red background + white text */
.nav-link:hover {

    /* shaded red */
    color: #b22222 !important;
    /* white text */

    /* subtle red glow */
}

/* 🔴 Active link (optional) */
.nav-link.active {
    background-color: #b22222;
    color: #fff !important;
}



/* 🔴 Base style */
.form-control {
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: none;
}

/* 🔴 On focus — shaded red outline + soft red glow */
.form-control:focus {
    border-color: #b22222;
    /* red border */
    box-shadow: 0 0 6px rgba(178, 34, 34, 0.3);
    /* soft red glow */
    outline: none;
}

/* 🔴 Optional: hover effect */
.form-control:hover {
    border-color: #b22222;
}



/* 🔴 Base style for action buttons */
.card-product-action .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 🔴 Hover effect - shaded red with white icon */
.card-product-action .btn-action:hover {
    background-color: #b22222;
    /* shaded red */
    border-color: #b22222;
    color: #fff;
    /* makes the icon white */
    box-shadow: 0 4px 10px rgba(178, 34, 34, 0.4);
    transform: translateY(-3px);
    /* subtle lift */
}

/* 🔴 Smooth icon transition */
.card-product-action .btn-action i {
    transition: color 0.3s ease;
}

/* Optional: slightly shrink on click */
.card-product-action .btn-action:active {
    transform: scale(0.95);
}


/* Only hover and active pagination links get danger color */
.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background-color: #dc3545 !important;
    /* Bootstrap danger */
    border-color: #dc3545 !important;
    color: #fff !important;
}

/* Smooth transition */
.pagination .page-link {
    transition: background-color 0.3s, color 0.3s;
}


.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    color: #dc3545 !important;
    /* Bootstrap danger color */
    text-decoration: none;
    /* optional: remove underline */
}

/* Optional: style permanently active link */
.nav-link.active {
    color: #dc3545 !important;
}


/* Red outline on focus */
.focus-danger:focus {
    border-color: #dc3545;
    /* Bootstrap danger color */
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    /* Red glow */
    outline: none;
}