/* Pharmacy Runway Workbook Styles */
.pharmacy-runway-workbook {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: "Fira Sans", sans-serif;
}

.prw-header {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.prw-header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.prw-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
}

.prw-intro-box {
    background: #f5f5f5;
    border-left: 4px solid #8B0000;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.prw-intro-box h2 {
    margin-top: 0;
    font-size: 22px;
    color: #000;
    font-weight: 700;
}

.prw-intro-box p {
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.prw-intro-box p:last-child {
    margin-bottom: 0;
}

.prw-calculator-box {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.prw-calculator-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.prw-calculator-header .prw-icon {
    font-size: 32px;
    margin-right: 15px;
}

.prw-calculator-header h2 {
    margin: 0;
    font-size: 24px;
    color: #000;
    font-weight: 700;
}

.prw-input-group {
    margin-bottom: 20px;
}

.prw-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.prw-input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: "Fira Sans", sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.prw-input-group input:focus {
    outline: none;
    border-color: #8B0000;
}

.prw-cash-input {
    padding-top: 20px;
    border-top: 2px solid #ddd;
    margin-top: 20px;
}

.prw-results-box {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border: 2px solid #8B0000;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.prw-results-box h3 {
    margin-top: 0;
    font-size: 24px;
    color: #000;
    font-weight: 700;
    margin-bottom: 25px;
}

.prw-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.prw-result-card {
    flex: 1;
    min-width: 200px;
}

.prw-result-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.prw-runway-card {
    border-color: #8B0000;
}

.prw-result-label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.prw-result-label .prw-icon {
    margin-right: 8px;
    font-size: 20px;
}

.prw-result-value {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.prw-runway-value {
    color: #8B0000;
}

.prw-status-box {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    background: #f0f0f0;
    color: #333;
}

.prw-status-box .prw-icon {
    margin-right: 12px;
    font-size: 24px;
}

.prw-status-box.status-critical {
    background: #fee;
    color: #8B0000;
}

.prw-status-box.status-caution {
    background: #fffbeb;
    color: #92400e;
}

.prw-status-box.status-healthy {
    background: #f0fdf4;
    color: #166534;
}

.prw-target-box {
    margin-top: 20px;
    background: #fffbeb;
    border-left: 4px solid #fbbf24;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.prw-target-box p {
    margin: 0;
    color: #92400e;
    font-weight: 600;
}

.prw-steps-box {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.prw-steps-box h3 {
    margin-top: 0;
    font-size: 24px;
    color: #000;
    font-weight: 700;
    margin-bottom: 25px;
}

.prw-step {
    border-left: 4px solid #8B0000;
    padding-left: 25px;
    margin-bottom: 25px;
}

.prw-step:last-child {
    margin-bottom: 0;
}

.prw-step h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
}

.prw-step p {
    margin: 0;
    color: #333;
    line-height: 1.6;
}

.prw-why-matters {
    background: #000;
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.prw-why-matters h3 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.prw-why-matters p {
    line-height: 1.7;
    color: #e5e5e5;
    margin-bottom: 15px;
}

.prw-why-matters p:last-child {
    margin-bottom: 0;
}

.prw-cta-box {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
}

.prw-cta-box .prw-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.prw-cta-box h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
}

.prw-cta-box p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pharmacy-runway-workbook {
        padding: 15px;
    }
    
    .prw-header {
        padding: 30px 20px;
    }
    
    .prw-header h1 {
        font-size: 22px;
    }
    
    .prw-subtitle {
        font-size: 14px;
    }
    
    .prw-calculator-box,
    .prw-results-box,
    .prw-steps-box {
        padding: 20px;
    }
    
    .prw-results-grid {
        flex-direction: column;
    }
    
    .prw-result-card {
        min-width: 100%;
    }
    
    .prw-result-value {
        font-size: 24px;
    }
}