/* =========================================
   # BRANDS PAGES
   ========================================= */
body { background-color: #f8fafc; }

/* brands/index.blade.php */
.brands-page-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}
.modern-breadcrumb {
    margin-bottom: 20px;
}
.modern-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
}
.modern-breadcrumb a:hover {
    color: #0277BD;
}
.modern-breadcrumb .separator {
    color: #64748b;
    margin: 0 8px;
    font-size: 0.8rem;
}
.modern-breadcrumb .current {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 500;
}
.modern-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
}
.modern-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.modern-brand-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.modern-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.1), 0 8px 15px -12px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}
.modern-brand-image-wrap {
    height: 120px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.modern-brand-image-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.modern-brand-card:hover .modern-brand-image-wrap img {
    transform: scale(1.05);
}
.modern-brand-footer {
    padding: 16px;
    background: #f8fafc;
    text-align: center;
    margin-top: auto;
}
.modern-brand-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    transition: color 0.2s;
}
.modern-brand-card:hover .modern-brand-title {
    color: #0277BD;
}
.modern-brand-placeholder {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* brands/show.blade.php specific components */
.modern-brand-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.brand-logo {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
