body {
    background-color: #f4f7f6;
    font-family: 'Arial', sans-serif;
}

.container {
    max-width: 700px;
    margin: 10px auto;
    padding: 30px;
}

.calculator {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

.table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

.table-dark {
    background-color: #343a40 !important;
    color: #ffffff;
}

.table td small {
    font-size: 12px;
    color: #777;
}

.form-control {
    text-align: center;
    border-radius: 5px;
}

#result {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
    padding: 15px;
    border-radius: 5px;
    background-color: #eef5ff;
}

.traffic-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: #eef5ff;
    text-align: center;
}

.traffic-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

#trafficResult {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

.footer {
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    background-color: #222;
    color: white;
    font-size: 14px;
}

.formula-box {
    background-color: #f8f9fa;
    border-left: 5px solid #007bff;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
    font-family: monospace;
    color: #333;
    text-align: left;
    border-radius: 5px;
}


.viewers-estimator {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 30px;
}

.viewers-estimator h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

#viewersResult {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}


.section-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 30px;
}

.section-box h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

#resetButton {
    display: block;
    margin: 30px auto;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
}
