/* Webhook Admin Styles */
.webhook-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.webhook-stats .stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #3498db;
    min-width: 150px;
    flex: 1;
}

.webhook-stats .stat-card.success {
    border-left-color: #27ae60;
}

.webhook-stats .stat-card.error {
    border-left-color: #e74c3c;
}

.webhook-stats .stat-card.warning {
    border-left-color: #f39c12;
}

.webhook-stats .stat-card h3 {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 5px 0;
}

.webhook-stats .stat-card p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* Status badges */
.webhook-status-success {
    background: #d5f4e6;
    color: #27ae60;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.webhook-status-failed {
    background: #fadbd8;
    color: #e74c3c;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.webhook-status-pending {
    background: #fef9e7;
    color: #f39c12;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Webhook icon - using default Pimcore icon */
.pimcore_icon_webhook {
    background: url(/bundles/pimcoreadmin/img/flat-color-icons/link.svg) center center no-repeat !important;
}

.pimcore_icon_statistics {
    background: url(/bundles/pimcoreadmin/img/flat-color-icons/statistics.svg) center center no-repeat !important;
}

.pimcore_icon_log {
    background: url(/bundles/pimcoreadmin/img/flat-color-icons/list.svg) center center no-repeat !important;
}

.pimcore_icon_settings {
    background: url(/bundles/pimcoreadmin/img/flat-color-icons/settings.svg) center center no-repeat !important;
}

/* Webhook configuration form states */
.webhooks-enabled {
    border-left: 4px solid #27ae60 !important;
    background-color: #f8fff8 !important;
}

.webhooks-disabled {
    border-left: 4px solid #e74c3c !important;
    background-color: #fff8f8 !important;
}

/* Enhanced checkbox styling */
.webhook-enabled-checkbox {
    font-weight: bold;
}

.webhook-enabled-checkbox .x-form-cb-label {
    color: #27ae60;
}

.webhook-disabled-checkbox .x-form-cb-label {
    color: #e74c3c;
}
