/* BD Live Dashboard - Target IT */
.bd-homepage-dashboard,
.bd-box,
.bd-full {
    font-family: inherit;
    box-sizing: border-box;
    color: inherit;
    line-height: 1.4;
}

.bd-homepage-dashboard {
    width: 100%;
    clear: both;
    margin: 15px 0;
}

/* Box Style (Homepage) */
.bd-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bd-box__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8102e;
}

.bd-box__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-box__title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.bd-live-icon {
    width: 10px;
    height: 10px;
    background: #c8102e;
    border-radius: 50%;
    display: inline-block;
    animation: bd-blink 1.4s infinite;
}

@keyframes bd-blink {
    50% { opacity: 0.4; }
}

.bd-box__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.bd-detail-link {
    color: #c8102e;
    text-decoration: none;
    font-weight: 600;
}

.bd-detail-link:hover {
    text-decoration: underline;
}

.bd-box__stats {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.bd-stat {
    flex: 1;
    padding: 10px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.bd-stat__label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.bd-stat__value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.bd-stat__meta {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.bd-stat__meta.is-up {
    color: #0a7a32;
}

.bd-stat__meta.is-down {
    color: #c8102e;
}

.bd-box__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.bd-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
}

.bd-chip__label {
    color: #666;
}

.bd-chip__value {
    font-weight: 700;
}

.bd-chip__diff {
    font-size: 11px;
}

.bd-chip__diff.up {
    color: #0a7a32;
}

.bd-chip__diff.down {
    color: #c8102e;
}

.bd-box__footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

.bd-box__footer a {
    color: #c8102e;
    text-decoration: none;
    font-weight: 600;
}

/* Full Page Style */
.bd-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bd-full__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c8102e;
}

.bd-full__header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.bd-full__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.bd-full__section {
    margin-bottom: 25px;
}

.bd-full__section h2 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.bd-full__weather {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 6px;
}

.bd-weather__temp {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

.bd-weather__condition {
    font-size: 18px;
    font-weight: 500;
}

.bd-weather__details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.bd-full__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.bd-full__table th,
.bd-full__table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.bd-full__table th {
    background: #f7f7f7;
    font-weight: 600;
}

.bd-full__dse {
    padding: 15px;
    background: #f7f7f7;
    border-radius: 6px;
}

.bd-dse__main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.bd-dse__change {
    font-weight: 700;
}

.bd-dse__change.is-up {
    color: #0a7a32;
}

.bd-dse__change.is-down {
    color: #c8102e;
}

.bd-dse__details {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.bd-full__fuel {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 6px;
}

.bd-fuel__item {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.bd-fuel__item span {
    font-size: 14px;
    color: #666;
}

.bd-fuel__item strong {
    font-size: 18px;
    font-weight: 700;
}

.bd-full__remittance {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 6px;
}

.bd-rem__item {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.bd-rem__item span {
    font-size: 14px;
    color: #666;
}

.bd-rem__item strong {
    font-size: 18px;
    font-weight: 700;
}

.bd-full__footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.bd-full__footer a {
    color: #c8102e;
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .bd-box__stats {
        flex-direction: column;
        gap: 8px;
    }

    .bd-box__chips {
        gap: 6px;
    }

    .bd-chip {
        padding: 4px 8px;
        font-size: 12px;
    }

    .bd-full__weather {
        flex-direction: column;
        gap: 10px;
    }

    .bd-weather__temp {
        font-size: 36px;
    }

    .bd-full__dse {
        padding: 10px;
    }

    .bd-dse__main {
        flex-direction: column;
        gap: 5px;
    }

    .bd-dse__details {
        flex-direction: column;
        gap: 5px;
    }
}