/* 
 * Hedge Betting Calculator Styles
 */
@import url('calculator-base.css');

/* Hedge betting specific styling */
.hedge-scenario {
    background: #f8f9fa;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.original-bet {
    background: linear-gradient(135deg, #e7f3ff 0%, #cce7ff 100%);
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.bet-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.bet-detail {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e7ff;
}

.detail-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007bff;
}

.hedge-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.hedge-option {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hedge-option:hover {
    border-color: #FFB900;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.2);
}

.hedge-option.selected {
    border-color: #FFB900;
    background: #fff3cd;
}

.hedge-type {
    font-size: 1.2rem;
    font-weight: 700;
    color: #323840;
    margin-bottom: 15px;
    text-align: center;
}

.profit-guarantee {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

.guaranteed-profit {
    font-size: 2rem;
    font-weight: 700;
    color: #28a745;
    display: block;
    margin: 10px 0;
}

.outcome-analysis {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.outcome-scenarios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.outcome-card {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid;
}

.outcome-win {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.outcome-loss {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.outcome-push {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.outcome-title {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.outcome-profit {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.hedge-calculator {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.calculation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.calculation-item {
    background: white;
    border: 2px solid #e0e7ff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.calc-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.calc-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #856404;
}

.hedge-recommendation {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.recommendation-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0c5460;
    margin-bottom: 15px;
}

.recommendation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #17a2b8;
    display: block;
    margin: 15px 0;
}

.risk-assessment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minima(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.risk-factor {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.risk-low {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.risk-medium {
    background: #fff3cd;
    color: #856404;
    border: 2px solid #ffeaa7;
}

.risk-high {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.timing-advice {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.timing-advice h4 {
    color: #721c24;
    margin-bottom: 10px;
}

.timing-advice ul {
    color: #721c24;
    margin: 0;
    padding-left: 20px;
}