body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

.card {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}



.card-title {
    color: #007bff;
    font-weight: 600;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.navbar-brand {
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.alert {
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }

    .card {
        margin: 1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

.status-badge {
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
    font-weight: 700;
    color: #fff;
}
.status-badge.in-analysis {
    background-color: #6c757d;
    color: #fff !important;
}



.status-badge.in-production {
    background-color: #007bff;
    color: #fff !important;
}

.status-badge.delayed {
    background-color: #ffc107;
    color: #212529;
}

.status-badge.finished {
    background-color: #28a745;
    color: #fff;
}

.status-badge.not-delivered {
    background-color: #dc3545;
    color: #fff !important;
}

.alert-link {
    cursor: pointer;
}

/* Dashboard Overview Styles */
.dashboard-metric {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #fff;
    transition: all 0.3s ease;
}

.dashboard-metric:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.dashboard-metric h5 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.dashboard-metric h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.dashboard-metric .metric-change {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.metric-value {
    transition: all 0.3s ease;
}

#toggleValues {
    transition: all 0.3s ease;
}

#toggleValues:hover {
    background-color: #e9ecef;
}

.past-revenue-mini-visualizer {
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
}

.past-revenue-mini-visualizer h6 {
    font-size: 0.8rem;
    color: #343a40; /* Darker gray */
    margin-bottom: 5px;
    background-color: #f8f9fa; /* Light gray background for header */
    padding: 5px;
    border-radius: 3px;
    text-align: left;
}

.past-revenue-mini-visualizer .month-item {
    border: 1px solid #dee2e6; /* Softer gray contour */
    padding: 3px;
    margin-bottom: 5px;
    border-radius: 3px;
    box-sizing: border-box;
    text-align: left;
}
.past-revenue-mini-visualizer .month-item small {
    font-size: 0.7rem;
}

.past-revenue-mini-visualizer p {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 2px;
}


.row.text-center {
    display: flex;
}

.card-body .row .col-md-4 .card {
    border: 1px solid #dee2e6;
    box-shadow: none;
}

.card-body .row .col-md-4 .card-body {
    padding: 0.75rem;
}

.card-body .row .col-md-4 .card-body h6 {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.card-body .row .col-md-4 .card-body p {
    font-size: 1rem;
    font-weight: 600;
}

.alert-warning-custom {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffda6a;
    border: 1px solid #ffda6a; /* Contorno amarelo mais suave */
}

.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.error-content {
    max-width: 600px;
}
.error-icon {
    font-size: 5rem;
    color: #dc3545;
    margin-bottom: 2rem;
}
