/* =========================================
   Bandwidth Calculator – Professional UI
========================================= */

.bw-wrap {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bw-wrap h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.bw-wrap h3 {
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* =========================================
   Form Grid
========================================= */

.bw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.bw-form label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.bw-form input,
.bw-form select {
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.bw-form input:focus,
.bw-form select:focus {
    border-color: #4f46e5;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

/* =========================================
   Submit Button
========================================= */

.bw-submit {
    margin-top: 30px;
    text-align: center;
}

.bw-btn {
    background: #4f46e5;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bw-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.bw-btn:active {
    transform: translateY(0);
}

/* =========================================
   Result Section
========================================= */

.bw-result {
    margin-top: 40px;
    padding: 30px;
    background: #f9fafc;
    border-radius: 10px;
    border: 1px solid #eaeaea;
}

.bw-result h3 {
    margin-top: 0;
    border: none;
}

.bw-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Result Cards */

.bw-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.bw-card:hover {
    transform: translateY(-4px);
}

.bw-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.bw-card p {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

/* =========================================
   Status Message
========================================= */

.bw-status {
    margin-top: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

#bwStatus {
    padding: 12px 18px;
    border-radius: 8px;
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
}


/* =========================================
   Responsive Tweaks
========================================= */

@media (max-width: 768px) {

    .bw-wrap {
        padding: 20px;
        margin: 20px;
    }

    .bw-wrap h2 {
        font-size: 22px;
    }

    .bw-card p {
        font-size: 18px;
    }

}
.bw-pdf-download {
    margin-top: 25px;
    text-align: center;
}

.bw-ad {
    text-align: center;
    margin: 15px 0;
}

