/* Salesforce-inspired styling with orange color scheme */
body {
    background-color: #F4F6F9; /* SLDS neutral background */
    font-family: 'Salesforce Sans', 'Helvetica Neue', Arial, sans-serif;
    color: #181818;
    font-weight: 400;
    font-size: 0.875rem; /* 14px, SLDS standard */
}

/* Navbar */
.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #DDDBDA; /* SLDS border */
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: #FF6200 !important; /* Primary orange */
    font-size: 1.25rem;
}

/* Hero Section */
.hero-section {
    background: #FFFFFF; /* SLDS clean white background */
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #DDDBDA;
}

.hero-title {
    font-weight: 700;
    font-size: 1.75rem; /* 28px, SLDS heading */
    color: #181818;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1rem; /* 16px */
    color: #514F4F;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

/* Primary Button */
.btn-primary {
    background-color: #FF6200;
    border: none;
    border-radius: 0.25rem; /* SLDS button radius */
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #FFFFFF;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #CC4D00; /* Darker orange */
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb .breadcrumb-item a {
    color: #514F4F;
    text-decoration: none;
}

.breadcrumb .breadcrumb-item.active {
    color: #FF6200;
    font-weight: 600;
}

/* KPI Cards */
.kpi-card {
    background: #FFFFFF;
    border: 1px solid #DDDBDA;
    border-radius: 0.25rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.kpi-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6200;
    margin: 0.5rem 0;
}

.kpi-label {
    font-size: 0.875rem;
    color: #514F4F;
    font-weight: 500;
}

/* Module Cards */
.module-card {
    background: #FFFFFF;
    border: 1px solid #DDDBDA;
    border-radius: 0.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.module-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    border-color: #FF6200;
}

.module-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #FF6200;
}

.module-card:hover .module-icon {
    color: #CC4D00;
}

.module-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #181818;
    margin: 0.5rem 0;
}

.module-card:hover .module-title {
    color: #FF6200;
}

.module-desc {
    font-size: 0.75rem;
    color: #514F4F;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.badge-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.badge-active {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.badge-soon {
    background-color: #FFE6CC; /* Light orange */
    color: #FF6200;
}

.module-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #FF6200;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1.25rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    text-decoration: none;
}

.fab:hover {
    background-color: #CC4D00;
    transform: scale(1.05);
}

/* Filter Tabs */
.filter-tabs .nav-link {
    color: #514F4F;
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    margin-right: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.filter-tabs .nav-link.active {
    color: #FF6200;
    border-bottom: 2px solid #FF6200;
}

/* Back Button */
.btn-back {
    background-color: #F4F6F9;
    color: #514F4F;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.btn-back:hover {
    background-color: #E0E0E0;
    color: #181818;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.875rem;
        padding: 0 1rem;
    }
    .module-card {
        padding: 1rem;
    }
    .module-icon {
        font-size: 1.75rem;
    }
    .module-title {
        font-size: 0.75rem;
    }
    .module-desc {
        font-size: 0.75rem;
    }
    .fab {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}