/* FACIM Custom Styles */

:root {
    --facim-primary: #f26522;
    --facim-primary-dark: #d9531e;
    --facim-secondary: #005b9f;
    --facim-secondary-dark: #001f3f;
    --facim-success: #00a651;
    --facim-success-dark: #008a43;
}

/* FACIM Component Styles (Scoped to prevent leaking to shop pages) */
.facim-hero-section .btn-success,
.facim-dashboard-section .btn-success {
    background-color: #00a651 !important;
    border-color: #00a651 !important;
    color: #ffffff !important;
}

.facim-hero-section .btn-success:hover,
.facim-dashboard-section .btn-success:hover {
    background-color: #008a43 !important;
    border-color: #008a43 !important;
}

.facim-dashboard-section .bg-white,
.category-card {
    background-color: #ffffff !important;
}

.facim-dashboard-section .text-dark,
.category-card h6 {
    color: #333333 !important;
}

.facim-dashboard-section .text-muted {
    color: #6c757d !important;
}

/* Fix missing background that makes letters invisible */
.facim-dashboard-section {
    background-color: #f8f9fa !important;
}
/* Hero Section */
.facim-hero-section {
    position: relative;
    overflow: visible;
}

.hero-search-bar {
    max-width: 1000px;
}

.hero-search-bar .form-control:focus, .hero-search-bar .form-select:focus {
    box-shadow: none;
}

/* Categories Grid */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    border-color: rgba(0, 166, 81, 0.2);
}

/* Dashboard Grid */
.hover-shadow:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.rfq-item:last-child, .event-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.event-date {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 5px;
    border: 1px solid #eaeaea;
}

/* Footer Adjustments */
#footer {
    background-color: #091a2f; /* Fundo escuro para destacar o texto branco/cinza */
}

#footer .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .facim-hero-section {
        padding: 60px 0 60px 0 !important;
    }
    .hero-title {
        font-size: 2.2rem !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    .hero-search-bar {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 2.5rem auto 0 auto !important;
        width: 100% !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
    }
}

@media (max-width: 767.98px) {
    .hero-search-bar .border-end {
        border-right: 0 !important;
        border-bottom: 1px solid #dee2e6 !important;
        padding-bottom: 0.5rem !important;
        width: 100% !important;
    }
}

/* Flexbox utilities */
.min-width-0 {
    min-width: 0 !important;
}

html, body {
    overflow-x: hidden;
}
