/* ===== ESTILOS GERAIS ===== */
:root {
    --primary-color: #2b9348;
    --primary-color-dark: #1d6a33;
    --primary-color-light: #e6f5ea;
    --secondary-color: #5f6c7b;
    --success-color: #0f9f63;
    --warning-color: #f4a226;
    --danger-color: #e65454;
    --info-color: #06b6d4;
    --critical-color: #fb923c;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

body {
    background-color: var(--light-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


.navbar {
    box-shadow: var(--box-shadow);
}

.navbar.bg-primary {
    background: linear-gradient(115deg, var(--primary-color-dark), var(--primary-color)) !important;
}

.nav-links-wrapper .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.nav-links-wrapper .nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-profile-link {
    text-decoration: none;
    color: inherit;
}

.nav-profile-text {
    max-width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.nav-profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(15, 23, 42, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    overflow: hidden;
}

.nav-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.hero-logo {
    width: 400px;
    max-width: 60%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.login-logo {
    width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(140deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-lg {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(43, 147, 72, 0.35);
}

.hero-section .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 106, 51, 0.45);
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary-color-dark), var(--primary-color));
    border: none;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(120deg, var(--primary-color-dark), var(--primary-color-dark));
    box-shadow: 0 6px 16px rgba(29, 106, 51, 0.35);
}

.btn-outline-primary {
    color: var(--primary-color-dark);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.badge.bg-primary,
.bg-primary {
    background-color: var(--primary-color) !important;
}

.badge.bg-primary {
    color: #fff;
}

.status-panel {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color-light) 100%);
}

/* ===== STATUS PANEL ===== */
.status-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.status-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.status-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.status-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* ===== DECISION PANEL ===== */
.decision-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.balance-item {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.balance-item:last-child {
    border-bottom: none;
}

.balance-item:hover {
    background-color: #f8fafc;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 4px;
}

.form-range {
    height: 8px;
    margin: 20px 0;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 24px;
    height: 24px;
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 24px;
    height: 24px;
}

.preview-calculations {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 15px;
    border-left: 4px solid var(--primary-color);
}

/* ===== GARGALO WIDGET ===== */
.gargalo-widget {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gargalo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gargalo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color-light);
    color: var(--primary-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.gargalo-text {
    flex: 1;
}

.gargalo-title {
    font-weight: 600;
    color: var(--dark-color);
}

.gargalo-summary {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.gargalo-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    background: rgba(15, 159, 99, 0.15);
    color: var(--success-color);
}

.gargalo-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.gargalo-step-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    flex-wrap: wrap;
}

.gargalo-step-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 220px;
}

.gargalo-step-icon {
    font-size: 1.6rem;
}

.gargalo-step-name {
    font-weight: 600;
    color: var(--dark-color);
}

.gargalo-step-meta {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.gargalo-widget.state-warning {
    border-left-color: var(--warning-color);
}

.gargalo-widget.state-orange {
    border-left-color: var(--critical-color);
}

.gargalo-widget.state-danger {
    border-left-color: var(--danger-color);
}

.gargalo-widget.state-warning .gargalo-icon {
    background: rgba(244, 162, 38, 0.15);
    color: var(--warning-color);
}

.gargalo-widget.state-orange .gargalo-icon {
    background: rgba(251, 146, 60, 0.18);
    color: var(--critical-color);
}

.gargalo-widget.state-danger .gargalo-icon {
    background: rgba(230, 84, 84, 0.15);
    color: var(--danger-color);
}

.gargalo-widget.state-warning .gargalo-status-chip {
    background: rgba(244, 162, 38, 0.15);
    color: var(--warning-color);
}

/* ===== COCKPIT PLAYER SELECTOR ===== */
.player-selector-grid {
    --player-avatar-size: 56px;
}

.player-selector-item {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    background: #ffffff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.player-selector-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.player-selector-scroll.expanded {
    max-height: none;
    overflow: visible;
}

.player-selector-scroll::-webkit-scrollbar {
    width: 8px;
}

.player-selector-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.player-selector-scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2);
    border-radius: 999px;
}

/* ===== GAMIFICATION DASHBOARD ===== */
.gamification-page .weight-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 12px;
    margin-bottom: 14px;
}

.gamification-page .weight-row:last-child {
    margin-bottom: 0;
}

.leaderboard-card .card-header {
    background: linear-gradient(120deg, #0f172a, #1e293b);
    color: #f8fafc;
    border-bottom: none;
}

.leaderboard-card .btn-outline-secondary,
.leaderboard-card .input-group-text,
.leaderboard-card .form-control {
    border-color: rgba(255, 255, 255, 0.25);
}

.leaderboard-card .form-control,
.leaderboard-card .input-group-text {
    background-color: rgba(15, 23, 42, 0.08);
    color: #f8fafc;
}

.leaderboard-scroll {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.leaderboard-scroll.expanded {
    max-height: none;
}

.leaderboard-scroll::-webkit-scrollbar {
    width: 8px;
}

.leaderboard-scroll::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.25);
    border-radius: 999px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.leaderboard-rank {
    min-width: 54px;
    text-align: center;
}

.leaderboard-rank .badge {
    font-size: 0.9rem;
}

.leaderboard-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color-dark);
    overflow: hidden;
}

.leaderboard-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-info .name {
    font-weight: 600;
    color: var(--dark-color);
}

.leaderboard-info .username {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.leaderboard-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    min-width: 260px;
}

.leaderboard-stats .stat {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.leaderboard-stats .stat strong {
    color: var(--dark-color);
}

.leaderboard-score {
    text-align: right;
    min-width: 90px;
    font-weight: 700;
    color: var(--primary-color-dark);
}

.leaderboard-search .input-group-text {
    background: transparent;
    border-right: 0;
}

.leaderboard-search .form-control {
    border-left: 0;
}

.chart-player-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.chart-player-actions .btn {
    min-width: 140px;
}

.chart-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.player-selector-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
}

.player-selector-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 12px 20px -5px rgba(43, 147, 72, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color-light) 100%);
}

.player-selector-item:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(43, 147, 72, 0.35);
}

.player-selector-avatar {
    width: var(--player-avatar-size);
    height: var(--player-avatar-size);
    border-radius: 50%;
    background: #f1f5f9;
    border: 2px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color-dark);
    overflow: hidden;
    flex-shrink: 0;
}

.player-selector-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-selector-info {
    flex: 1;
    text-align: left;
}

.player-selector-name {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.player-selector-username {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.player-selector-meta {
    text-align: right;
    min-width: 110px;
}

.player-selector-meta .badge {
    font-weight: 600;
}

.gargalo-widget.state-orange .gargalo-status-chip {
    background: rgba(251, 146, 60, 0.18);
    color: var(--critical-color);
}

.gargalo-widget.state-danger .gargalo-status-chip {
    background: rgba(230, 84, 84, 0.17);
    color: var(--danger-color);
}

.gargalo-step-pill--warning {
    border-color: rgba(244, 162, 38, 0.4);
    background: rgba(244, 162, 38, 0.08);
}

.gargalo-step-pill--ok {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
}

.gargalo-step-pill--orange {
    border-color: rgba(251, 146, 60, 0.6);
    background: rgba(251, 146, 60, 0.12);
}

.gargalo-step-pill--danger {
    border-color: rgba(230, 84, 84, 0.5);
    background: rgba(230, 84, 84, 0.12);
}

.gargalo-step-pill .gargalo-status-chip {
    margin-top: 0;
}

/* ===== PRODUCTION FLOW ===== */
.production-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    flex: 1;
    min-width: 80px;
}

.flow-step:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== PRODUCTION FLOW DETAILED ===== */
.production-flow-detailed {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 0;
    overflow-x: auto;
}

.flow-step-detailed {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

.step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.step-number {
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0.8;
}

.step-circle .step-icon {
    font-size: 1.5rem;
}

.step-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.step-time {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.connector-line {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin-bottom: 5px;
}

.connector-arrow {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===== PRODUCTION STEP CARDS ===== */
.production-step-card {
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.production-step-card:hover {
    border-left-color: var(--success-color);
}

/* ===== TURN ALERTS ===== */
.turn-alerts {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(360px, 90vw);
    pointer-events: none;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .turn-alerts {
        top: 72px;
        right: 12px;
        width: min(320px, 92vw);
    }
}

@media (max-width: 576px) {
    .turn-alerts {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(360px, 96vw);
    }
}

.turn-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 14px 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

.turn-alert-visible {
    opacity: 1;
    transform: translateY(0);
}

.turn-alert-hide {
    opacity: 0;
    transform: translateY(-8px);
}

.turn-alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.turn-alert-content h6 {
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.turn-alert-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.turn-alert-success {
    border-left-color: var(--success-color);
}

.turn-alert-success .turn-alert-icon {
    background: rgba(15, 159, 99, 0.12);
    color: var(--success-color);
}

.turn-alert-info {
    border-left-color: var(--info-color);
}

.turn-alert-info .turn-alert-icon {
    background: rgba(6, 182, 212, 0.12);
    color: var(--info-color);
}

.turn-alert-warning {
    border-left-color: var(--warning-color);
}

.turn-alert-warning .turn-alert-icon {
    background: rgba(244, 162, 38, 0.12);
    color: var(--warning-color);
}

.turn-alert-danger {
    border-left-color: var(--danger-color);
}

.turn-alert-danger .turn-alert-icon {
    background: rgba(230, 84, 84, 0.12);
    color: var(--danger-color);
}

.step-icon-large {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.metric-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.metric-card:hover {
    background: #e2e8f0;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* ===== CHART STYLES ===== */
.chart-container {
    position: relative;
    height: 100%;
    min-height: 300px;
    margin: 20px 0;
}

/* ===== MODAL STYLES ===== */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 30px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 20px 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== PROGRESS BARS ===== */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* ===== BADGES ===== */
.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* ===== PROFILE PAGE ===== */
.profile-page .card-title {
    font-weight: 600;
}

.profile-avatar-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d4ed8, #22d3ee);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.profile-page .form-label {
    font-weight: 500;
}

.profile-page .btn {
    box-shadow: none;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color), #d97706);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .status-item {
        margin-bottom: 15px;
    }
    
    .production-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .production-flow-detailed {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-connector {
        transform: rotate(90deg);
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .status-value {
        font-size: 1.2rem;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
    }
    
    .step-circle .step-icon {
        font-size: 1.2rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: var(--box-shadow);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border-radius {
    border-radius: var(--border-radius);
}

.transition {
    transition: var(--transition);
}