/* BakoelEtek Push Notification UI Component */
.push-notification-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.push-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.push-card-title-group h2,
.push-card-title-group h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.push-card-title-group p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Accessible Toggle Switch */
.push-switch-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.push-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.push-switch-slider {
    position: relative;
    width: 48px;
    height: 26px;
    background-color: #cbd5e1;
    border-radius: 9999px;
    transition: background-color 0.2s ease;
}

.push-switch-slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.push-switch-input:checked + .push-switch-slider {
    background-color: #075c19;
}

.push-switch-input:checked + .push-switch-slider::before {
    transform: translateX(22px);
}

.push-switch-input:focus-visible + .push-switch-slider {
    outline: 2px solid #075c19;
    outline-offset: 2px;
}

.push-switch-input:disabled + .push-switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.push-card-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.push-status-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.push-status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: capitalize;
}

.push-status-badge.is-active {
    background: #dcfce7;
    color: #166534;
}

.push-status-badge.is-inactive {
    background: #f1f5f9;
    color: #64748b;
}

.push-status-badge.is-denied {
    background: #fee2e2;
    color: #991b1b;
}

.push-status-badge.is-unsupported {
    background: #fef3c7;
    color: #92400e;
}

.push-status-badge.is-loading {
    background: #e0f2fe;
    color: #0369a1;
}

.push-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #075c19;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.push-test-btn:hover:not(:disabled) {
    background: #dcfce7;
    border-color: #86efac;
}

.push-test-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.push-card-hint {
    width: 100%;
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

/* Post-checkout Offer Banner */
.push-checkout-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(7, 92, 25, 0.05);
}

.push-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.push-banner-title {
    font-size: 1rem;
    font-weight: 700;
    color: #075c19;
    margin: 0;
}

.push-banner-text {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    line-height: 1.45;
}

.push-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.push-banner-btn-accept {
    padding: 0.5rem 1rem;
    background: #075c19;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.push-banner-btn-accept:hover {
    background: #054513;
}

.push-banner-btn-dismiss {
    padding: 0.5rem 0.85rem;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
}

.push-banner-btn-dismiss:hover {
    background: #f1f5f9;
}

.push-banner-success {
    font-weight: 600;
    color: #166534;
    padding: 0.5rem 0;
}
