
.recipe-info-container {
    background-color: #fff;
    border: 2px solid #e8f4f8;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.info-section {
    padding: 15px 0;
}

.info-section:not(:last-child) {
    border-bottom: 1px solid #ecf0f1;
}

.time-section .section-header {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

.time-bar-visual {
    display: flex;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.time-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.time-prep {
    background: linear-gradient(135deg, #3498db, #2980b9); padding: 0 15px
}

.time-cook {
    background: linear-gradient(135deg, #e74c3c, #c0392b); padding: 0 15px
}

.time-total {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

.stats-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    background-color: #f8f9fa;
    border: 2px solid #e8f4f8;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
}

.difficulty-meter {
    width: 100%;
    height: 8px;
    background-color: #e8f4f8;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0 8px 0;
}

.difficulty-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease, background-color 0.3s ease;
}

.difficulty-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
}

.difficulty-card {
    max-width: 100%;
}

.action-section {
    display: flex;
    justify-content: center;
    padding: 20px 0 5px 0;
}

.save-recipe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background-color: #fff;
    border: 2px solid #3498db;
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
}

.save-recipe-btn:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.save-recipe-btn.saved {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.save-recipe-btn.saved:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.save-recipe-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .recipe-info-container {
        padding: 20px 15px;
    }

    .time-bar-visual {
        height: 70px;
    }

    .time-segment {
        font-size: 0.8rem;
    }

    .stats-section {
        gap: 10px;
    }

    .stat-card {
        min-width: 120px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .save-recipe-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .save-recipe-btn i {
        font-size: 1.3rem;
    }
}

.time-bar-visual .time-segment {
    min-width: 84px;
    line-height: 1.2;
    text-align: center;
}

.tw-1 { width: 1%; }
.tw-2 { width: 2%; }
.tw-3 { width: 3%; }
.tw-4 { width: 4%; }
.tw-5 { width: 5%; }
.tw-6 { width: 6%; }
.tw-7 { width: 7%; }
.tw-8 { width: 8%; }
.tw-9 { width: 9%; }
.tw-10 { width: 10%; }
.tw-11 { width: 11%; }
.tw-12 { width: 12%; }
.tw-13 { width: 13%; }
.tw-14 { width: 14%; }
.tw-15 { width: 15%; }
.tw-16 { width: 16%; }
.tw-17 { width: 17%; }
.tw-18 { width: 18%; }
.tw-19 { width: 19%; }
.tw-20 { width: 20%; }
.tw-21 { width: 21%; }
.tw-22 { width: 22%; }
.tw-23 { width: 23%; }
.tw-24 { width: 24%; }
.tw-25 { width: 25%; }
.tw-26 { width: 26%; }
.tw-27 { width: 27%; }
.tw-28 { width: 28%; }
.tw-29 { width: 29%; }
.tw-30 { width: 30%; }
.tw-31 { width: 31%; }
.tw-32 { width: 32%; }
.tw-33 { width: 33%; }
.tw-34 { width: 34%; }
.tw-35 { width: 35%; }
.tw-36 { width: 36%; }
.tw-37 { width: 37%; }
.tw-38 { width: 38%; }
.tw-39 { width: 39%; }
.tw-40 { width: 40%; }
.tw-41 { width: 41%; }
.tw-42 { width: 42%; }
.tw-43 { width: 43%; }
.tw-44 { width: 44%; }
.tw-45 { width: 45%; }
.tw-46 { width: 46%; }
.tw-47 { width: 47%; }
.tw-48 { width: 48%; }
.tw-49 { width: 49%; }
.tw-50 { width: 50%; }
.tw-51 { width: 51%; }
.tw-52 { width: 52%; }
.tw-53 { width: 53%; }
.tw-54 { width: 54%; }
.tw-55 { width: 55%; }
.tw-56 { width: 56%; }
.tw-57 { width: 57%; }
.tw-58 { width: 58%; }
.tw-59 { width: 59%; }
.tw-60 { width: 60%; }
.tw-61 { width: 61%; }
.tw-62 { width: 62%; }
.tw-63 { width: 63%; }
.tw-64 { width: 64%; }
.tw-65 { width: 65%; }
.tw-66 { width: 66%; }
.tw-67 { width: 67%; }
.tw-68 { width: 68%; }
.tw-69 { width: 69%; }
.tw-70 { width: 70%; }
.tw-71 { width: 71%; }
.tw-72 { width: 72%; }
.tw-73 { width: 73%; }
.tw-74 { width: 74%; }
.tw-75 { width: 75%; }
.tw-76 { width: 76%; }
.tw-77 { width: 77%; }
.tw-78 { width: 78%; }
.tw-79 { width: 79%; }
.tw-80 { width: 80%; }
.tw-81 { width: 81%; }
.tw-82 { width: 82%; }
.tw-83 { width: 83%; }
.tw-84 { width: 84%; }
.tw-85 { width: 85%; }
.tw-86 { width: 86%; }
.tw-87 { width: 87%; }
.tw-88 { width: 88%; }
.tw-89 { width: 89%; }
.tw-90 { width: 90%; }
.tw-91 { width: 91%; }
.tw-92 { width: 92%; }
.tw-93 { width: 93%; }
.tw-94 { width: 94%; }
.tw-95 { width: 95%; }
.tw-96 { width: 96%; }
.tw-97 { width: 97%; }
.tw-98 { width: 98%; }
.tw-99 { width: 99%; }
.tw-100 { width: 100%; }
