.widgetContainer {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.widgetHeader {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.metricsList {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.metricRow {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metricHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.metricTitleWrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.metricIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wine-red, #b91c1c);
    background-color: rgba(185, 28, 28, 0.08);
    padding: 6px;
    border-radius: 8px;
}

.metricTitle {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.metricValue {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.currentValue {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.maxValue {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.progressContainer {
    width: 100%;
    height: 6px;
    background-color: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progressBar {
    height: 100%;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.safe { background-color: var(--green-light, #10b981); }
.warning { background-color: var(--yellow, #f59e0b); }
.danger { background-color: var(--error, #ef4444); }
.infinite { background-color: var(--wine-red, #6366f1); }

.actionsContainer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.statusFooter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cancelledInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cancelledText {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--error, #ef4444);
}

.validUntilText {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
