.alertwise-card {
    flex: 1 1 240px;
    min-width: 240px;
    max-width: 320px;
    margin: 0;
    padding: 24px 18px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(44, 59, 82, 0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.alertwise-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 8px 0 8px 0;
    color: #0161ef;
}

.alertwise-card-desc {
    color: #555;
    font-size: 0.99rem;
    margin-top: 8px;
    flex: 1;
}

@media (max-width: 900px) {
    .alertwise-card {
        min-width: 180px;
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .alertwise-card {
        min-width: 0;
        max-width: 100%;
    }
}

#alertwise-sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    background: #fff;
    border-left: 1px solid #e5e5e5;
    overflow-x: hidden;
    transition: 0.3s;
    box-shadow: -4px 0 12px -6px rgba(0, 0, 0, 0.18);
    padding-top: 60px;
}

.alertwise_toggle_advanced {
    display: flex;
    padding: 5px 10px;
    border: 1px solid #2271b1;
    border-radius: 6px;
    background: #f8f9fa;
    color: #2271b1;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none !important;
    justify-content: space-between;
    align-items: center;
}

.alertwise_toggle_advanced.active {
    background: #2271b1;
    color: #fff;
}

.alertwise_toggle_advanced.active .alertwise_toggle_icon {
    color: #fff;
}

.alertwise_toggle_icon {
    flex-shrink: 0;
    margin-left: 10px;
    font-size: 1.1em;
    font-weight: 700;
}


.alertwise-separator {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 0.85em;
    font-weight: 500;
}

.alertwise-separator::before,
.alertwise-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.alertwise-separator::before {
    margin-right: 10px;
}

.alertwise-separator::after {
    margin-left: 10px;
}

.alertwise-widget-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.alertwise-panel {
    flex-basis: 50%;
}

.metric-title {
    font-size: 14px;
    font-weight: 600;
    color: #555d66;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #1e1e1e;
}

.metric-info {
    font-size: 12px;
    color: #757575;
    margin-top: 4px;
    margin-bottom: 8px;
}

.alertwise-progress-bar {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}

.alertwise-progress-bar-fill {
    background-color: #0073aa;
    height: 100%;
    transition: width 0.3s ease;
}

.alertwise-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #757575;
    margin-top: 24px;
}

.notice {
    font-weight: 500;
}

.alertwise-plan-dates {
    font-size: 12px;
    font-weight: 500;
    color: #555d66;
}

.alertwise-cta a {
    text-decoration: none;
}